Type related warning and error messages

18 views
Skip to first unread message

Gen

unread,
Oct 12, 2015, 2:08:26 AM10/12/15
to Dart plugin for JetBrains Editors
Hi,

I would like to have error messages and not just warning in these cases:
1) Some type is not defined.
Example:
UnknownType x = new List<String>();

2) Some member is not available is just a week warning.
Example:
List<String> x = new List<String>();
x.dffewoewgfopjergf();

Alexander Doroshko

unread,
Oct 12, 2015, 5:50:13 AM10/12/15
to jetbrains-dart...@dartlang.org
Done in upcoming WebStorm 11 / IntelliJ IDEA 15. Early access versions are already available.
https://confluence.jetbrains.com/display/WI/WebStorm+EAP
https://confluence.jetbrains.com/display/IDEADEV/IDEA+15+EAP

Günter Zöchbauer

unread,
Oct 12, 2015, 10:11:09 AM10/12/15
to Dart plugin for JetBrains Editors
Type annotations don't have any effect in Dart in production mode and therefore they are treated as warnings only. This is how Dart analyzer reports it to WebStorm.

Gen

unread,
Oct 12, 2015, 10:11:29 AM10/12/15
to Dart plugin for JetBrains Editors
Thanks for the reply and the IDE. I will try the EAP version.
Reply all
Reply to author
Forward
0 new messages