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
DDC in some cases generates code where a typeTest throws rather than returning false when the subtype relationship does not hold. The program is accepted by dartanalyzer --strong n016.dart with no issues.
When compiling and executing the program using dartdevc.dart from 5982ace, 2017-06-15 14:18:09, ddc n016.dart, the resulting output is as follows:
true
/usr/local/google/home/eernst/devel/dart/work/sdk/pkg/dev_compiler/lib/js/common/dart_sdk.js:9877
throw e;
^
Strong mode is-check failure: (C) -> A does not soundly subtype F((B) -> B)
I would expect bar is F to evaluate to false rather than throwing.
The text was updated successfully, but these errors were encountered:
DDC in some cases generates code where a typeTest throws rather than returning
false
when the subtype relationship does not hold. The program is accepted bydartanalyzer --strong n016.dart
with no issues.When compiling and executing the program using dartdevc.dart from 5982ace, 2017-06-15 14:18:09, ddc n016.dart, the resulting output is as follows:
I would expect
bar is F
to evaluate tofalse
rather than throwing.The text was updated successfully, but these errors were encountered: