Skip to content

Conversation

clarityflowers
Copy link
Contributor

This could cause crashes because

cognac hello.cog

will assign

m->dir = "hello"

and thus try to load modules fromhello/module.cog, but hello has already been reserved as the executable out file!

This could cause crashes because

	cognac hello.cog

will assign

	m->dir = "hello"

and thus try to load modules from
`hello/module.cog`, but `hello` has already been
reserved as the executable out file!
@StavromulaBeta
Copy link
Collaborator

Amazing - thank you!!

@StavromulaBeta StavromulaBeta merged commit 419f1cf into cognate-lang:master Jan 9, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants