mirror of
https://github.com/apple/pkl.git
synced 2026-06-15 10:04:30 +02:00
shebang comment parsing is too lenient #321
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bioball on GitHub (Jul 16, 2025).
The shebang comment should only be valid to start a file, but currently is accepted in any position.
This is okay:
This should error: