fn: func ['word] [print mold :word]
fn :+ ; works
fn '+ ; works
fn + ; crashes
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.
TESTS: added tests for issue #461
FIX: partial fix for issue #461 (makes pass first two cases in the co…
FIX: issue #461 fixed for compiler.
TESTS: modified expected result for regression test on #461.
FIX: issue #461 (Passing op as a lit-word param crashes the console)
FIX: missing line break in some debug logs.
FIX: previous commit for issue #461 was missing the reported crash fix.