Skip to content

fix: Adding duplicate identifier check in function signatures #1865

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

Merged
merged 10 commits into from
May 27, 2021
Merged

fix: Adding duplicate identifier check in function signatures #1865

merged 10 commits into from
May 27, 2021

Conversation

MaxGraey
Copy link
Member

Fix #1864

  • I've read the contributing guidelines

@MaxGraey MaxGraey requested a review from dcodeIO May 21, 2021 14:37
@MaxGraey MaxGraey changed the title fix: Add checking duplicate identifiers in function signatures fix: Adding duplicate identifier check in function signatures May 21, 2021
@dcodeIO
Copy link
Member

dcodeIO commented May 24, 2021

I would like to suggest to implement the check at compiler level, that is when a function is actually compiled, since these are not necessarily syntax errors, but semantic errors.

Copy link
Member

@dcodeIO dcodeIO left a comment

Choose a reason for hiding this comment

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

👍

@MaxGraey MaxGraey merged commit 3633f4b into AssemblyScript:master May 27, 2021
@MaxGraey MaxGraey deleted the fix-1864 branch May 27, 2021 07:06
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.

Duplicate identifiers in function signature is considered valid code
2 participants