You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Godot version: 195655a OS/device including version:
Windows 10 Issue description:
The ConstantNode is created at the very end, once the tokenizer has moved on past the closing brace, so the line number reported is the line after the enum.
This causes documentation generated by the language server to only report a single line of a docstring if it was after the enum, and nothing else - which goes against how everything else is documented. Steps to reproduce:
# TestFile.gdextendsReference# SLIDE = 0# Uses `move_and_slide`# COLLIDE = 1# Uses `move_and_collide`# POSITION = 2# Changes global_position directlyenumMovementType { SLIDE, COLLIDE, POSITION }
# Demonstration of the issue
Razoric480
changed the title
GDScript parser reports enum as having the line number after the closing brace
GDScript parser reports named enum as having the line number after the closing brace
Feb 7, 2020
Godot version:
195655a
OS/device including version:
Windows 10
Issue description:
The ConstantNode is created at the very end, once the tokenizer has moved on past the closing brace, so the line number reported is the line after the enum.
This causes documentation generated by the language server to only report a single line of a docstring if it was after the enum, and nothing else - which goes against how everything else is documented.
Steps to reproduce:
Result:
The text was updated successfully, but these errors were encountered: