Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔍 Detection of fragile unions and/or imports #113

Open
favonia opened this issue Aug 30, 2023 · 0 comments
Open

🔍 Detection of fragile unions and/or imports #113

favonia opened this issue Aug 30, 2023 · 0 comments

Comments

@favonia
Copy link
Collaborator

favonia commented Aug 30, 2023

Fragile = possibly changing the semantics when new top-level definitions are added in imported libraries.

Fragile code:

import "x.file" [a]
improt "y.file"

def c = a // future bindings from "y.file" can shadow "a"

Non-fragile code:

import "x.file" [a]
improt "y.file" [b]

def c = a // future bindings from "y.file" cannot shadow "a" because of the pattern [b]

The library should support giving warnings for these cases.

@favonia favonia added this to the revolutionary milestone Sep 21, 2023
@favonia favonia changed the title Detection of fragile unions and/or imports 😰 Detection of fragile unions and/or imports Aug 19, 2024
@favonia favonia changed the title 😰 Detection of fragile unions and/or imports 🔍 Detection of fragile unions and/or imports Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant