Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Braces get auto-indented to the beginning of the line for functions in object or class definitions #5

Open
alexispurslane opened this issue Mar 17, 2023 · 2 comments

Comments

@alexispurslane
Copy link

No description provided.

@BrettWitty
Copy link
Owner

Yeah okay, I can replicate. That's weird and just the code being insensitive to functions. I'll try to fix.

@alexispurslane
Copy link
Author

I fixed this by making lone braces just inherit the indentation of their surroundings — previously the assumption was that braces alone on lines must have an indentation of zero — which seems harmless to me, but I'm not sure if it is, given I know little about TADS as of yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants