DescriptionFix VM bug with try-catch inside of try-finally.
There were two exception handlers with the same index added to the code so that only the one added
last was executed. In case of an exception that means that a re-throw may be omitted, causing invalid
control flow.
Also, add assertion to ensure unique try-index for exception handlers.
BUG=#25333
R=hausner@google.com
Committed: https://github.com/dart-lang/sdk/commit/e9968ca5ff695d4b88e924ddac3302c8ddbe6746
Patch Set 1 #Patch Set 2 : added regression test #
Total comments: 6
Patch Set 3 : addressed comment #Patch Set 4 : added comment #
Messages
Total messages: 11 (3 generated)
|