Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: X10 2.0.4
-
Fix Version/s: X10 2.3.2
-
Labels:None
-
Number of attachments :
Description
The attached HTML files describes a number of error messages that could stand improving. All but one involve syntax errors in declaring def's and closures. The other is strange:
x10c++ -c foo.x10
compiled Foo.x10 and complained that "public class Foo must appear in Foo.x10".
The last one is an unfortunate consequence of using a case-insensitive but case-preserving filesystem. The filename seen by x10c/x10c++ is "foo.x10" (lowercase), while opening that filename actually opens the file Foo.x10 (uppercase). The compiler sees the mismatch and complains.