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(compiler): error when more than one space is placed between if and let #3960

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

marciocadev
Copy link
Collaborator

@marciocadev marciocadev commented Aug 24, 2023

@MarkMcCulloh, your review on PR #3888 made me realize that if I put more than one space between if let, it generates errors.

I've updated the if let to work even with extra spaces.

Closes #3959

Checklist

  • Title matches Winglang's style guide
  • Description explains motivation and solution
  • Tests added (always)
  • Docs updated (only required for features)
  • Added pr/e2e-full label if this feature requires end-to-end testing

By submitting this pull request, I confirm that my contribution is made under the terms of the Wing Cloud Contribution License.

@marciocadev marciocadev requested a review from a team as a code owner August 24, 2023 21:12
@MarkMcCulloh MarkMcCulloh changed the title fix(compile): Error whenn more than one space is placed between if and let fix(compile): error when more than one space is placed between if and let Aug 24, 2023
@MarkMcCulloh MarkMcCulloh changed the title fix(compile): error when more than one space is placed between if and let fix(compiler): error when more than one space is placed between if and let Aug 24, 2023
@marciocadev marciocadev changed the title fix(compiler): error when more than one space is placed between if and let fix(compiler): Error when more than one space is placed between if and let Aug 24, 2023
@MarkMcCulloh MarkMcCulloh changed the title fix(compiler): Error when more than one space is placed between if and let fix(compiler): error when more than one space is placed between if and let Aug 24, 2023
@marciocadev
Copy link
Collaborator Author

@MarkMcCulloh, you were faster than I had imagined

@MarkMcCulloh
Copy link
Contributor

When I saw the issue you created and self-assigned, I knew what was about to happen :)

@mergify
Copy link
Contributor

mergify bot commented Aug 24, 2023

Thanks for contributing, @marciocadev! This PR will now be added to the merge queue, or immediately merged if marciocadev/extra-space-if-let is up-to-date with main and the queue is empty.

mergify bot added a commit that referenced this pull request Aug 24, 2023
@mergify mergify bot merged commit 1184705 into main Aug 24, 2023
12 of 16 checks passed
@mergify mergify bot deleted the marciocadev/extra-space-if-let branch August 24, 2023 21:55
@monadabot
Copy link
Contributor

Congrats! 🚀 This was released in Wing 0.26.0.

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.

Error when more than one space is placed between if and let
3 participants