Skip to content

Lua/Text Macros cant be at the end of a block due to implicit return #178

@Le0Developer

Description

@Le0Developer
macro no_return = -> {code: "", type: "lua"}

print 123

$no_return

Fails to compile with

5: lua macro can only be placed where block macro is allowed
$no_return
^

This keeps popping up and annoying me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions