Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

communications with numbers in channel name parse incorrectly #15

Open
joey-coleman opened this issue Jun 19, 2013 · 1 comment
Open
Assignees
Labels
Milestone

Comments

@joey-coleman
Copy link
Member

Given the following CML example

channels
  a : int * int
process P = begin @ a.1.2 -> P end

the COMPASS tool will produce a type error. The problem is that the parser reads a.1.2 as the channel named a.(1.2) rather than a.(1).(2) → i.e. the parser sees a real number when it ought (in this case) see two integers separated by dots.

@joey-coleman
Copy link
Member Author

The fix for this will have to wait until I can do some serious parser refactoring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant