Tweak unknown annotation GDScript error for @deprecated/@experimental/@tutorial

These annotations don't exist at a source level, so the error messages
point to the documentation comment syntax.
This commit is contained in:
Hugo Locurcio 2024-12-08 15:34:01 +01:00
parent aa8d9b83f6
commit 6095a37d64
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
7 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,6 @@
# This annotation should be used within a documentation comment instead:
# ## @experimental: Reason here.
@experimental("This function isn't implemented yet.")
func say_hello():
pass