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

Blank/Comment lines at the beginning are considered "unsafe" #20418

Closed
Tracked by #40488
YeldhamDev opened this issue Jul 24, 2018 · 4 comments
Closed
Tracked by #40488

Blank/Comment lines at the beginning are considered "unsafe" #20418

YeldhamDev opened this issue Jul 24, 2018 · 4 comments

Comments

@YeldhamDev
Copy link
Member

Godot version:
cf297b4

Issue description:
If a typed GDScript file starts with a blank line or a comment, these lines will be considered unsafe until it reaches a line of actual code.

@akien-mga
Copy link
Member

Still reproducible in the current master branch.

@YeldhamDev
Copy link
Member Author

@akien-mga I would consider this a bug rather than an enhancement request.

@akien-mga
Copy link
Member

One can argue both ways (incomplete feature vs wrong behavior), but I'm fine changing it.

@YeldhamDev
Copy link
Member Author

Doesn't happen anymore on master.

@Calinou Calinou added this to the 4.0 milestone Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants