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

Crash when using a class name in binop method call syntax #669

Closed
jamshark70 opened this issue Dec 1, 2012 · 2 comments
Closed

Crash when using a class name in binop method call syntax #669

jamshark70 opened this issue Dec 1, 2012 · 2 comments
Assignees
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library"
Milestone

Comments

@jamshark70
Copy link
Contributor

1 Class: 2

Expected behavior: Parse error

Actual behavior: Language crashes

True, it's wrong input, but we should catch wrong input and provide reasonable error output rather than crashing.

@scztt
Copy link
Contributor

scztt commented Apr 18, 2015

Hah!

@scztt scztt added this to the 3.8 milestone Apr 18, 2015
@scztt scztt self-assigned this Apr 18, 2015
@baconpaul
Copy link
Contributor

Turns out this error occurs if you use the name of any object which is registered as an object. So

1 Object: 2

crashes. But

1 FooBaz: 2

doesn't. I think I have a fix, though.

crucialfelix added a commit to supercollider-quarks/CommonTests that referenced this issue Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that relate to unexpected/unwanted behavior. Don't use for PRs. comp: sclang sclang C++ implementation (primitives, etc.). for changes to class lib use "comp: class library"
Projects
None yet
Development

No branches or pull requests

3 participants