examplefile (the tree-sitter playground default) is not valid Gate:
examplefile
$ cat examplefile hello
hello is an untyped bare word with no class_name/extends, so it parses as a stray expression/word and is misleading to anyone opening the playground.
hello
class_name
extends
expression
word
Replace it with a minimal valid Gate snippet, e.g.:
class_name Foo extends RefCounted
Summary
examplefile(the tree-sitter playground default) is not valid Gate:hellois an untyped bare word with noclass_name/extends, so it parses as a strayexpression/wordand is misleading to anyone opening the playground.Expected
Replace it with a minimal valid Gate snippet, e.g.:
Files
examplefile