Conversation
…in visitEachChild
Signed-off-by: github-actions <github-actions@github.com>
✅ Deploy Preview for effortless-malabi-1c3e77 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Signed-off-by: github-actions <github-actions@github.com>
sam-goodwin
approved these changes
Jul 27, 2022
src/event-bridge/event-bus.ts
Outdated
| const objectProps = arg.properties.map((prop) => { | ||
| if ( | ||
| !isPropAssignExpr(prop) || | ||
| !(isIdentifier(prop.name) || isStringLiteralExpr(prop.name)) |
Owner
There was a problem hiding this comment.
nit: are the parens necessary?
Owner
There was a problem hiding this comment.
Would it be easier to check for what's allowed instead of the !? I am confused.
Owner
There was a problem hiding this comment.
what about numeric properties?
Collaborator
Author
test/api.test.ts
Outdated
| return "success"; | ||
| } | ||
| ) | ||
| ).toThrow("object literal"); |
Owner
There was a problem hiding this comment.
Is this the whole message it throws?
Collaborator
Author
There was a problem hiding this comment.
No, toThrow does a contains.
…heck of for-in initializer
Collaborator
Author
|
Rebased onto #347 to reflect the change before it gets pushed. |
sam-goodwin
reviewed
Jul 27, 2022
Owner
sam-goodwin
left a comment
There was a problem hiding this comment.
Looks like there are changes brought across from my ast change? Merge problems?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Depends on #347