Skip to content

In the same script, a gutter icon is missing when a method in an inner class overriding the base one from another inner class. #104125

@Lazy-Rabbit-2001

Description

@Lazy-Rabbit-2001

Tested versions

4.5dev, but would be reproducible from 4.0 to 4.4.1(rc1)

System information

Windows 11

Issue description

Source from #103859 (comment)
I'd've thought that this was a "feature", but @HolonProduction told me on Rocket Chat that this would be a bug that should be fixed. So I post it here.

Steps to reproduce

Copy the example script and paste it in the script editor of Godot

extends RefCounted

class A:
    var _t=1

    func _test() -> void:
        _t=2

class B extends A:
    func _test() -> void: # No gutter at the left side. Believe it or not.
        pass

And check if there is an overriding icon in the gutter

Minimal reproduction project (MRP)

Since this is simple enough to reproduce, the MRP is the code itself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Up for grabs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions