Danil Alexeev

Results 283 comments of Danil Alexeev

I don't insist on `alpha = 1.0`, but the color of the stroke should be noticeably different from the color of the shape, due to the way drawing lines with...

I'm not sure if this can be called a 100% bug. The expected behavior is not documented anywhere. For example, PHP has [Late Static Bindings](https://www.php.net/manual/en/language.oop5.late-static-bindings.php), you can explicitly specify with...

This is intentional. `match` is more strict than `==`. In 3.x the behavior is the same.

I think the problem is due to the signature of the [ResourceSaver.save()](https://docs.godotengine.org/en/stable/classes/class_resourcesaver.html#class-resourcesaver-method-save) method. For example in [Object.connect()](https://docs.godotengine.org/en/stable/classes/class_object.html#class-object-method-connect), the `flags` parameter is `int`, not the enum. It looks like the reason...

This is intentional. In 4.0, functions and signals are first class objects, so they now share the same identifier space as variables and constants. Local identifiers can shadow member identifiers,...

This is not a bug, but a matter of the naming you are using. ```gdscript # Private member. var _something: int func _init(something: int) -> void: # Parameter / local...

> All these problems sound like a fundamental code parser problem to me, sorry. This is not a parser problem, GDScript allows you to shadow identifiers. These warnings were added...

> For example, how would users know which type is actually returned by `button_mask` in GDScript? Is it `MouseButtonMask`, is it some `BitField[]` that would raise a syntax error if...