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

Error executing EValidator when type-checking expression using typed enumerated literals and FQN #75

Open
pefribeiro opened this issue Aug 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@pefribeiro
Copy link
Contributor

It seems there is an issue with the type-checker when using a FQN and an expression involving an enumerated type. Minimal example below:

enumeration EType {
	A
	B
}

enumeration ESuper {
	C
	D(EType)
}

stm STM {
	initial I
	final F
	var x : ESuper
	transition T0 {
		from I to F
		action x = D(A)
	}
}

This works when action x = D(A) but not when action x = ESuper::D(A), which is what the graphical editor will produce by default. It raises an exception Error executing EValidator.

@pefribeiro pefribeiro added the bug Something isn't working label Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants