Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Support Decimal Literals#47

Merged
aaronhurst-google merged 1 commit into
google:mainfrom
adangel:support-decimal
Feb 17, 2024
Merged

Support Decimal Literals#47
aaronhurst-google merged 1 commit into
google:mainfrom
adangel:support-decimal

Conversation

@adangel

@adangel adangel commented Feb 9, 2024

Copy link
Copy Markdown
Contributor

Apex actually differs between double and decimal literals:

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_primitives.htm

This PR adds support for decimal literals, as this is needed by PMD (see pmd/pmd#4806 (comment) and pmd/pmd#3766)

  • Tests pass
  • Appropriate changes to README are included in PR

adangel added a commit to adangel/pmd that referenced this pull request Feb 13, 2024

@aaronhurst-google aaronhurst-google left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks!

@aaronhurst-google aaronhurst-google merged commit 1f75111 into google:main Feb 17, 2024
@adangel adangel deleted the support-decimal branch February 22, 2024 13:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants