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

Java exceptions when using the String signature #13

Open
philippemerle opened this issue Mar 30, 2020 · 0 comments
Open

Java exceptions when using the String signature #13

philippemerle opened this issue Mar 30, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@philippemerle
Copy link

Describe the bug

CRS does not currently support the String signature.

The following Alloy specification
sig MyString in String {}
throws
java.lang.Exception: java.lang.NullPointerException at edu.uiowa.alloy2smt.translators.SignatureTranslator.translateSigSubsetParent(SignatureTranslator.java:309) ...

The following Alloy specification
sig A { s: String }
throws
java.lang.Exception: java.lang.UnsupportedOperationException at edu.uiowa.alloy2smt.translators.ExprUnaryTranslator.translateNoop(ExprUnaryTranslator.java:115) ...

To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

Copied from philippemerle#4.

@mudathirmahgoub mudathirmahgoub self-assigned this Mar 31, 2020
@mudathirmahgoub mudathirmahgoub added the enhancement New feature or request label Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants