Closed robertguetzkow closed 3 years ago
If you type "word" and start auto-completion (ctrl+space) then FASTEN creates an "unsigned word"
Please confirm that it works like this.
If you want to change the signedness (i.e. to "signed") there is an intention (alt + enter) - unfortunately it seems that there is an MPS bug which prevents correct functioning of this intention. I have commited a fix on FASTEN side to avoid the MPS issue https://youtrack.jetbrains.com/issue/MPS-33284
Workaround for changing the signedness - right click on the type, select "show reflective editor" and change the "signed" flag.
Thank you for the quick reply. That seems to do the trick.
I was trying to extend the
_010_traffic_lights_controller_baseLang
example with additional variables and noticed that FASTEN doesn't seem to accept variables of typeunsigned word [N]
andsigned word [N]
. Is this a user error or does FASTEN limit the allowed types for state machines?Error message on hover:
Abstract concept instance detected. Use one of sub-concepts instead. Concept: Type
Apologies if this is a trivial mistake caused by my inexperience with FASTEN and NuSMV.