Open gchumillas opened 8 years ago
Does it if you have explicit types? int myInt = 100; String myString = 'another string'; ...
And just FYI, issues like this are probably better filed against dart-lang/sdk.
No, it still doesn't throw any warning:
int myInt = 100;
String myString = 'another string';
String test = myInt ?? myString; // no warnings, no errors, no anything
I'll publish this issue in the dart-lang/sdk repository.
The following code does not cause any warning:
I think that the plugin should be alerted and print the following error: