Skip to content

SIGILL with method definition in top-level block #24316

@jw3126

Description

@jw3126

The following code segfaults on nightly (gives an error on 0.6):

using Test

f() = false

@testset "error message call" begin
    f(m) = false
    if !(f(1))
        $QuoteNode(:(f(2)))
    end
end

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions