Skip to content

Is it now safe to error on unknown symbol? #4

Description

@hexaredecimal

I discovered a bug while coding compile-time warnings into the type-inference. Turns out when resolving pattern capture variables I would index the pattern type like an array instead of indexing the inner types. This led to weird errors (I would put a symbol with type undefined) that prevented me from getting the correct values. This caused the compiler to think certain symbols were undefined. Especially the usage of pattern vars inside the pattern body.

This fix should allow me to turn the compile-time warning into an error immediately

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions