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

Merge of pull request breaks the javagen tests #718

Open
idhugoid opened this issue Mar 16, 2020 · 0 comments
Open

Merge of pull request breaks the javagen tests #718

idhugoid opened this issue Mar 16, 2020 · 0 comments
Milestone

Comments

@idhugoid
Copy link
Contributor

Description

Build is broken after the commits in #714

Steps to Reproduce

Run mvn with tests

Tests run: 23, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.44 sec <<< FAILURE! - in org.overture.codegen.tests.other.UnsupportedJavaCodeGenTest
test22: src/test/resources/unsupported/SetPatternInSetComp.vdmpp Time elapsed: 0.054 sec <<< ERROR!
java.lang.NullPointerException
at org.overture.codegen.tests.other.UnsupportedJavaCodeGenTest.genData(UnsupportedJavaCodeGenTest.java:123)
at org.overture.codegen.tests.other.UnsupportedJavaCodeGenTest.test(UnsupportedJavaCodeGenTest.java:80)

The content of the problematic file,
src/test/resources/unsupported/SetPatternInSetComp.vdmpp file:

class Entry

operations
public Run: () ==> set of int
Run() == return { x | {x} in set { {1}, {2} } & true };

end Entry

idhugoid added a commit that referenced this issue Mar 16, 2020
This reverts commit 87e8945, reversing
changes made to 51351ae.

Those commits break the javagen tests according to issue #718
@idhugoid idhugoid changed the title Mrege of pull request breaks the javagen tests Merge of pull request breaks the javagen tests Mar 16, 2020
@idhugoid idhugoid added this to the v3.0.2 milestone Aug 28, 2020
@idhugoid idhugoid modified the milestones: v3.0.2, v3.0.4 Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant