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

Problems in type system #82

Open
BertLisser opened this issue Apr 16, 2013 · 0 comments
Open

Problems in type system #82

BertLisser opened this issue Apr 16, 2013 · 0 comments

Comments

@BertLisser
Copy link
Owner

Created 2009-06-11 by bertl@cwi.nl assigned to paulk@cwi.nl

After reading module B I get the message "Undeclared type: block",
but "block" is defined in the previous line.

It went OK if /*alias trans = str; */ is uncommented and

and "alias trans = tuple[str, str, str];" is commented.

module B

alias trans = tuple[str, str, str];
/* alias trans = str; */
alias block = set[trans];

alias partition = set[block];

In eclipse:

rascal>import B;
rascalB.rsc:6,22: Undeclared type: block

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

No branches or pull requests

1 participant