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

Shrink and line numbers #75

Open
ojwb opened this issue Jun 3, 2021 · 0 comments
Open

Shrink and line numbers #75

ojwb opened this issue Jun 3, 2021 · 0 comments

Comments

@ojwb
Copy link
Collaborator

ojwb commented Jun 3, 2021

Pressing shrink actually makes this program larger:

https://bbcmic.ro/#%7B%22v%22%3A1%2C%22program%22%3A%22Shrink_makes_this_larger%3D1%5Cn1%22%7D

LIST on the program before and after shows the same end result, but it seems unexpected for shrink to convert from implicit to explicit line numbers like this (it would be reasonable for it to remove explicit line numbers if they matched what implicit numbering would give since that does shrink the program.)

Possibly owlet should enforce ascending line numbers somehow, which I think would solve this case.

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