We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
example:
public clock x := 0; public clock y := 0_ms;
will not evaluate to a clock variable. It will evaluate to an int:
evaluated: x :-> 0 i y :-> 0 c
The clock keyword is being ignored in favour of the right-hand-side expression...
clock
You can even do this:
clock x := "test"
and it will work.
We should throw an exception if the RHS and type specification does not match (or cannot be implicitly converted).
essentially, all TYPEs are treated as auto at the moment
TYPE
auto
The text was updated successfully, but these errors were encountered:
On that note, the access modifier is also ignored - this is probably fine, as it can at least be overridden by a custom driver implementation.
driver
Sorry, something went wrong.
chore: add todo about issue #21
cd45a74
No branches or pull requests
example:
will not evaluate to a clock variable. It will evaluate to an int:
The
clock
keyword is being ignored in favour of the right-hand-side expression...You can even do this:
and it will work.
We should throw an exception if the RHS and type specification does not match (or cannot be implicitly converted).
essentially, all
TYPE
s are treated asauto
at the momentThe text was updated successfully, but these errors were encountered: