Passing op as a lit-word param crashes the console #461

Closed
greggirwin opened this Issue Apr 7, 2013 · 1 comment

3 participants

@greggirwin


fn: func ['word] [print mold :word]
fn :+ ; works
fn '+ ; works
fn + ; crashes

@PeterWAWood

I've included Gregg's tests in function-test.red. The compiler gives an error for the first two cases and a runtime error for the third. The tests appear to pass with the interpreter.

@dockimbel dockimbel added a commit that referenced this issue Apr 8, 2013
@dockimbel dockimbel FIX: issue #461 (Passing op as a lit-word param crashes the console)
FIX: missing line break in some debug logs.
3256933
@dockimbel dockimbel closed this Apr 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment