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 out argument declaration #274

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Fix out argument declaration #274

merged 1 commit into from
Aug 8, 2023

Conversation

wise0704
Copy link
Contributor

@wise0704 wise0704 commented Aug 8, 2023

Fixes #159

Before:
image

After:
image

@@ -2644,25 +2622,6 @@ long total = (data["bonusGame"]["win"].AsLong) * data["bonusGame"]["betMult"].As
]);
});

it("in argument declaration", async () => {
const input = Input.InMethod(`M(in int x, in var y);`);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

You can't do this... Also it doesn't make sense to pass a reference to nothing.

Copy link
Member

@JoeRobich JoeRobich left a comment

Choose a reason for hiding this comment

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

Thanks @wise0704!

@JoeRobich JoeRobich merged commit 0309a05 into dotnet:main Aug 8, 2023
2 checks passed
@wise0704 wise0704 deleted the args branch August 9, 2023 06:41
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.

Null not highlighted when casted to type
2 participants