metaeducation / ren-c

Library for embedding a Rebol interpreter into C codebases
GNU Lesser General Public License v3.0
128 stars 27 forks source link

Invisible Macros Cause Assert #1150

Open hostilefork opened 1 year ago

hostilefork commented 1 year ago
m: macro [invisible [logic!]] [
    if invisible [return []]
    return [<not invisible>]
]

>> 10 m false
== <not invisible>

>> 10 m true
== 10  ; expected result, but it asserts