ceylon/ceylon-ide-eclipse — Issue #147: Add compiler annotation to ignore errors
Author: FroMage
Created: 2012-01-11 14:15:03+00:00
State: open

In the compiler we have tons of tests that show an error marker for various reasons such as:

- Feature not supported yet officially
- IDE doesn't use the reflection model loader yet, so barfs on `java.lang.Throwable` import, while compiler is OK with that
- Module name is invalid for a very practical reason which is that on compilation the source path will be adjusted so that it compiles
- Test contains errors because we're testing compilation of erroneous files

These end up showing up as error markers in the package tree, which prevents us from finding _real_ errors in our tests, that is, errors that we don't expect/know.

I'd like to be able to add an `@ignoreErrors` compiler annotation to declarations (or node) so that the IDE would transform any error in that decl would be reported by the IDE as a warning instead, thereby allowing us to see unexpected errors.

I'm sure the language/spec tests would benefit from that as well.