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

Resolve fully-uppercase builtin identifiers #300

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

mlcui-corp
Copy link
Contributor

Some users try to use uppercase function names like LOG as they are used to Excel functions, which don't work in fend.

Resolve fully-uppercase builtin identifiers if they are not parsed as units. This ensures that if, for example, "I" becomes a unit in the future, it will be resolved as the unit - not the imaginary number.

Some users try to use uppercase function names like LOG as they are used
to Excel functions, which don't work in fend.

Resolve fully-uppercase builtin identifiers if they are not parsed as
units. This ensures that if, for example, "I" becomes a unit in the
future, it will be resolved as the unit - not the imaginary number.
@printfn
Copy link
Owner

printfn commented Jul 1, 2024

Thanks for the PR, and sorry for the delay in reviewing this. I'll try and take a look at this and your other pull request in the next couple days.

@printfn printfn merged commit 3c29a6d into printfn:main Jul 10, 2024
3 of 5 checks passed
@printfn
Copy link
Owner

printfn commented Jul 10, 2024

Thanks!

aarongable pushed a commit to chromium/chromium that referenced this pull request Jul 30, 2024
These have been fixed upstream:

- Percentage: printfn/fend#301
- Uppercase identifiers: printfn/fend#300

Fixed: b:342481033, b:345302335
Change-Id: I6a6a21007cd99dd46ed2b6537afbeeb7aa19e081
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5740190
Commit-Queue: Michael Cui <[email protected]>
Auto-Submit: Michael Cui <[email protected]>
Reviewed-by: Darren Shen <[email protected]>
Commit-Queue: Darren Shen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1334642}
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.

2 participants