1. Exception.zip 1.0

Hello Mike, hello all,

running the following code (after the example at the end of
'exception.txt'):
---------------------------------------------------------------->8-----
include exception.e
is_integer y
y = 1.7  -- this will allow the assignment but throw Type_Check_Failure
---------------------------------------------------------------->8-----


... I got this error message:
---------------------------------------------------------------->8-----
D:\test\exception.e:83 in function catch()
subscript value 0 is out of bounds, reading from a sequence of length 20
... called from D:\test\exception.e:109 in function type_check_failure()

... called from D:\test\exception.e:117 in type is_integer()
... called from D:\test\exc.exw:3
--> see ex.err
---------------------------------------------------------------->8-----

Is there a bug in 'exception.e'?

Best regards,
   Juergen

-- 
 /"\  ASCII ribbon campain  |
 \ /  against HTML in       |  Money is the root of all evil.
  X   e-mail and news,      |  Send 20 Dollars for more info.
 / \  and unneeded MIME     |

new topic     » topic index » view message » categorize

2. Re: Exception.zip 1.0

Juergen has indeed found a bug in exception.e -- I have sent him a corrected
copy and submitted the corrected file to Rob for the contributions page.

-- Mike Nelson

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu