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

(fix) remove only last extension #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joshgoebel
Copy link
Contributor

Test case:

  • ./hello_world.wren
  • ./hello_world.spec.wren

The spec imports hello_world so that it can test it, but this
fails because they are both shortened to hello_world inside
the CLI and this silently breaks the import for some reason.

I'm not sure if this is intentional or a bug but it seems the
wrong behavior to me.

Should this be enhanced to just remove .wren instead of just
removing the first extension it seens or is this adequate for
now?

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.

1 participant