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 #29145, error for new{} with incomplete type #29154

Merged
merged 1 commit into from
Sep 14, 2018
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

I also updated the interpreter code for new to match codegen exactly, to make sure error handling is the same.

The error thrown here isn't perfect (this is not really a type error in the same sense), but I felt it was helpful to include the type in question, and that's tricky to do from runtime system code.

fix #29145

@JeffBezanson JeffBezanson added domain:error handling Handling of exceptions by Julia or the user kind:bugfix This change fixes an existing bug labels Sep 12, 2018
@JeffBezanson JeffBezanson merged commit c3660f7 into master Sep 14, 2018
@JeffBezanson JeffBezanson deleted the jb/fix29145 branch September 14, 2018 19:53
@KristofferC KristofferC mentioned this pull request Sep 17, 2018
KristofferC pushed a commit that referenced this pull request Sep 17, 2018
KristofferC pushed a commit that referenced this pull request Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:error handling Handling of exceptions by Julia or the user kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid syntax cause a crash in Julia 1.0
2 participants