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 evaluating exprand #632

Closed
michaeldzjap opened this issue Oct 28, 2012 · 3 comments
Closed

crash when evaluating exprand #632

michaeldzjap opened this issue Oct 28, 2012 · 3 comments

Comments

@michaeldzjap
Copy link
Contributor

in 3.7.alpha0 exprand is throwing an error:

6.0.exprand or exprand(6.0)

gives an
ERROR: binary operator 'exprand' failed.
RECEIVER:
nil
ARGS:
Float 6.000000 00000000 40180000
nil
PATH: /Users/mdzjaparidze/Documents/SuperCollider/SARC-PhD/comp02/tests/hiFreqChaoticString.scd
CALL STACK:
DoesNotUnderstandError:reportError 0x118e83858
arg this =
Nil:handleError 0x118fc7d38
arg this = nil
arg error =
Thread:handleError 0x10c861458
arg this =
arg error =
Object:throw 0x118f04de8
arg this =
Object:performBinaryOpOnSomething 0x1058d8d68
arg this = nil
arg aSelector = 'exprand'
arg thing = 6
arg adverb = nil
Interpreter:interpretPrintCmdLine 0x10f79de98
arg this =
var res = nil
var func =
var code = "6.0.exprand"
var doc = nil
var ideClass =
Process:interpretPrintCmdLine 0x10c666df8
arg this =
^^ The preceding error dump is for ERROR: binary operator 'exprand' failed.
RECEIVER: nil

@danstowell
Copy link
Member

(1) This is not a crash, it's an error message.
(2) It's an error message because you made an error! "exprand" needs two arguments not one.

@michaeldzjap
Copy link
Contributor Author

oh sh.... your completely right! How could I have not seen that... really, really stupid. Anyway, very sorry

@danstowell
Copy link
Member

no problem, happens to us all :)

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

No branches or pull requests

2 participants