Skip to content

GDScript emits wrong error for unkown annotations #98145

Closed
@HolonProduction

Description

@HolonProduction

Tested versions

4.3
v4.4.dev.custom_build [92e51fc]

System information

Fedora 40

Issue description

The following script

@hello_world
var test

will emit Annotation "@hello" is not allowed in this level. although @hello is not a valid annotation.

Steps to reproduce

Copy the script into Godot 4.3

Minimal reproduction project (MRP)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions