You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The co19 issue #726 indicates that the first check in this file should expect an AssertionError rather than a type error. When omitting this check, the remaining test succeeds as stated. Since '!e' subjects the value of e to boolean conversion, we should get true (since a string and a closure are converted to false), so Expect.isTrue should succeed rather than throwing a TypeError.
The text was updated successfully, but these errors were encountered:
Dart2JS generated code fails with an AssertionError in the following test:
Language/12_Expressions/27_Unary_Expressions_A02_t03.
The co19 issue #726 indicates that the first check in this file should expect an AssertionError rather than a type error. When omitting this check, the remaining test succeeds as stated. Since '!e' subjects the value of e to boolean conversion, we should get true (since a string and a closure are converted to false), so Expect.isTrue should succeed rather than throwing a TypeError.
The text was updated successfully, but these errors were encountered: