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(fast_check): super expr with spread #495

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

dsherret
Copy link
Member

@@ -87,7 +87,7 @@ Fast check https://jsr.io/@scope/a/1.0.0/mod.ts:
}
export class SpreadChild extends SpreadBase {
constructor(){
super(...({} as never));
super(...([] as never[]));
Copy link
Member Author

Choose a reason for hiding this comment

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

We should eventually type check these tests.

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

LGTM

Nice the ecosystem tests caught this too.

@lucacasonato lucacasonato merged commit c4e7a9f into denoland:main Jun 4, 2024
16 checks passed
@dsherret dsherret deleted the fix_expr_never branch June 4, 2024 13:42
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