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

fix(literal): set the type of the CtLiteral via the CodeFactory #829

Merged
merged 1 commit into from
Sep 20, 2016

Conversation

tdurieux
Copy link
Collaborator

No description provided.


literal = code.createLiteral(1.0);
assertEquals(1.0, literal.getValue());
assertEquals(factory.Type().doublePrimitiveType(), literal.getType());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add assert on String.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@GerardPaligot GerardPaligot merged commit 8583496 into INRIA:master Sep 20, 2016
sjd78 pushed a commit to sjd78/spoon that referenced this pull request Nov 3, 2016
@tdurieux tdurieux deleted the fix_literal branch November 30, 2016 18:59
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

Successfully merging this pull request may close these issues.

3 participants