Incorrect warning from type analyzer #18072
Labels
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
$ ./sdk/bin/dart2js tests/co19/src/Language/12_Expressions/30_Identifier_Reference_A01_t08.dart
tests/co19/src/Language/12_Expressions/30_Identifier_Reference_A01_t08.dart:48:12:
Error: Character U+00e7 isn't allowed here.
return ç;
^
tests/co19/src/Language/12_Expressions/30_Identifier_Reference_A01_t08.dart:48:12:
Warning: 'int' is not assignable to 'bool'.
return ç;
^
Error: Compilation failed.
$
Something is wrong here. Why would the type analyzer think that someone is assigning an int to a bool in this example.
The text was updated successfully, but these errors were encountered: