Chromium Code Reviews
Descriptiondart2js CPS: Fix an incorrect assertion.
When computing captured variables in constructors, there was an assert
that an assignment in one of the initializers must be a parameter
assignment (since those are the only locals in scope for the
initializers).
However, the initializers can contain closures, which can have
assignments to their own local variables so the assert was not
correct.
BUG=
R=karlklose@google.com
Committed: https://github.com/dart-lang/sdk/commit/0186a932f0b39b9bbdbeb5b940f7d6edbb5714b9
Patch Set 1 #
Total comments: 2
Messages
Total messages: 5 (1 generated)
|
|||||||||||||||||||