|
2013-06-09
| ||
| 17:36 | • Closed ticket [779d38b996]: try compiler -during failure plus 6 other chan... artifact: fb954df298 user: dkf | |
| 17:34 | [779d38b996]: Make the 'try' compiler handle -during right and compile some more cases than it did b... check-in: c802ed39c4 user: dkf tags: trunk | |
| 00:00 | • Ticket [779d38b996] try compiler -during failure status still Open with 5 ... artifact: 1e799c2036 user: dkf | |
|
2013-06-08
| ||
| 23:59 | • New ticket [779d38b996]. artifact: c64d524fed user: dkf | |
[try] compiler -during failure
Closed / Fixed779d38b9963a4651954282e7b91cd7534928cd77Created 13 years agoUpdated 13 years ago
Descriptionwiki2013-06-08 23:59:01
The code emitted by the try compiler fails to match the interpreted command in one key way: if the body clause has an error and either the exception handler clause or the finally clause also has an error, the body's error is lost. In the interpreted version, the original error is described in the new error's options dictionary's -during entry.
The test suite checks for -during but only in interpreted mode, due to the fact that it did all its checking in straight scripts and not in a lambda term or procedure; part of this bug is the inadequacy of the tests. (This was found when developing [this commit], where I found a way to compile the simplest try case without an LVT, except for the handling of this bug…)
Referenced by1
c802ed39c4[779d38b996]: Make the 'try' compiler handle -during right and compile some more cases than it did before. check-in2013-06-09 17:34:10
dkf Ticket [779d38b996]: 5 changes
[History diff]2013-06-09 00:00:45
dkfwiki2013-06-09 17:36:34
Fixed now, and reduced the amount of mysterious stack management shenanigans too.
Log in (anonymous is fine) to add a comment.