Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect warning from type analyzer #18072

Closed
peter-ahe-google opened this issue Apr 7, 2014 · 3 comments
Closed

Incorrect warning from type analyzer #18072

peter-ahe-google opened this issue Apr 7, 2014 · 3 comments
Assignees
Labels
P3 A lower priority bug or feature request type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js

Comments

@peter-ahe-google
Copy link
Contributor

$ ./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.

@floitschG
Copy link
Contributor

Set owner to @karlklose.
Removed Priority-Unassigned label.
Added Priority-Low label.

@peter-ahe-google
Copy link
Contributor Author

This is my own fault, see r30782.

I have a proposed fix, so I'm going to steal this bug from Karl.


Set owner to @peter-ahe-google.
Added Started label.

@peter-ahe-google
Copy link
Contributor Author

@peter-ahe-google peter-ahe-google added Type-Defect P3 A lower priority bug or feature request web-dart2js labels Apr 22, 2014
@peter-ahe-google peter-ahe-google self-assigned this Apr 22, 2014
@kevmoo kevmoo added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) and removed started labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 A lower priority bug or feature request type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) web-dart2js
Projects
None yet
Development

No branches or pull requests

4 participants