Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Information Provided
-
1.6.3
-
None
-
None
Description
This program causes the compiler to throw a syntax error. However it should be a semantic error.
public class B { public void Test() { new NotExist() } }
We could review usage of SyntaxErrorMessage and throw a different error instead where appropriate.
They are converted into compilation exceptions later so not really visible to users of the language but relevant for IDEs.