Skip to content

Accidental self-references can cause stack overflows #103

@ankrgyl

Description

@ankrgyl
let a = unsafe select a from foo.t;
let b = unsafe select count(*) from a;

a;
b;

I suspect this is related to #14, specifically that we add a to the namespace before we're binding the expression. This makes sense for recursive functions but not for variable declarations.

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