| Summary: | XDCtools should show better error message | ||
|---|---|---|---|
| Product: | [Technology] RTSC | Reporter: | Amit Mookerjee <amitm> |
| Component: | Core | Assignee: | Dave Russo <d-russo> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dfriedland, sascha |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
XDCtools throws the following error: generating interfaces for package idiom (because package/package.xdc.inc is older than ModA.xdc) ... translating ModA ---------- 1. ERROR in package/idiom.java (at line 137) po.addFld("id", $$T_Str, Global.eval(""one" + "two""), "w"); ^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 1 problem (1 error)error: internal java compilation error while compiling the following RTSC module. /* ModA.xdc */ module ModA { ......... config String id = "one" + "two"; ......... } Obviously the RTSC spec. does not support the familiar "+" javascript operation on strings which would be a nice addition. Meanwhile XDCtools can throw a more meaningful error referring to the problem in the spec. file itself.