dart-archive / eclipse3

DEPRECATED - NO LONGER maintained/supported - Eclipse plugins and Dart Editor
8 stars 6 forks source link

Eclipse plugin: attempt to instantiate an enum is not marked as error #75

Closed sgrekhov closed 9 years ago

sgrekhov commented 9 years ago

In Eclipse with Dart plugin create file with the following code:

enum E {a, b, c}

main() {
  E e = new E();
}

Result: no error shown in Eclipse IDE

Running this file in Dart or Dart analyzer shows an error

Found on Ubuntu 14.04 LTS, Eclipse 3.8.1 with Dart Editor for Eclipse 1.10.1.release, dart-sdk 1.11.0-edge.45833

sgrekhov commented 9 years ago

No this issue on SDK 1.12.0-dev.5.10. Closed