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

import of non existent library fails to generate warning #20

Open
chrysaora-achlyos opened this issue Jul 25, 2024 · 0 comments
Open

import of non existent library fails to generate warning #20

chrysaora-achlyos opened this issue Jul 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chrysaora-achlyos
Copy link

Describe the bug

if code contains the line import nonexistantlibary no warning is generated.

To Reproduce

Steps to reproduce the behavior:

  1. create a file Crash.jelly with the single line import nonexistantlibrary
  2. compile with the command jelly Crash.jelly --export --out Crash.shortcut
  3. observe stdout of Successfully Compiled Shortcut

Expected behavior

Strictly speaking, this is not an error since, if nothing from the libary was later referenced, the code did compile correctly. However, likely person writing the code could like to know.

Screenshots

If applicable, add screenshots to help explain your problem.

Information

  • Device: [MacBook Pro 14-inch, 2021]
  • OS: [Sonoma 14.5]
  • Jellycuts Version [???, no access to version via jelly command] (Can be found in Settings -> About)
  • Jailbroken? [No]

Additional context

If one attempted to import Shortcuts and instead import Shortcust (misspelling), an error likely be generated on the actual use of something from the Shortcuts library, but could lead to focus on a good line of code instead of the incorrect import line of code.

@chrysaora-achlyos chrysaora-achlyos added the bug Something isn't working label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant