Project

General

Profile

Bug #979

charmxi: mismatched module braces leads to confusing error messages.

Added by Ralf Gunter Corrêa Carvalho almost 3 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
02/15/2016
Due date:
% Done:

0%


Description

The following code sample raises a very obscure error message:


mainmodule mod {
mainchare mchare {
entry mchare(CkArgMsg *m);
}


~/p/p/c/t/c/c/tmp ❯❯❯ ~/programming/ppl/charm/bin/charmxi tmp.ci
tmp.ci:5:4-4: error: invalid construct

History

#1 Updated by Eric Bohm about 2 years ago

  • Assignee changed from Ralf Gunter Corrêa Carvalho to Phil Miller

#2 Updated by Phil Miller 12 months ago

  • Assignee changed from Phil Miller to Evan Ramos

Reassign to Evan based on discussion with Eric B. Confer on how important this work is to schedule in the near future.

#3 Updated by Evan Ramos 11 months ago

  • Status changed from New to Feedback

The output of charmxi with the given test case is currently:

[PARSE-ERROR] Unexpected/missing token at line 5. Current token being parsed: ''.

This is better than the "invalid construct" message in the original report. It's still not the clearest but seems sufficient to get the point across.

#4 Updated by Evan Ramos 11 months ago

  • Status changed from Feedback to Closed

The above message seems a good enough solution to me. I'm closing this. Feel free to re-open if there is disagreement.

#5 Updated by Evan Ramos 4 months ago

  • Target version set to 6.9.0

Also available in: Atom PDF