Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
23 lines
344 B
GDScript
23 lines
344 B
GDScript
class A:
|
|
func f1(x: int, ...args: Array) -> void:
|
|
prints(x, args)
|
|
|
|
func f2(x: int, ...args: Array) -> void:
|
|
prints(x, args)
|
|
|
|
class B extends A:
|
|
func f1(x: int, y: int, ...args: Array) -> void:
|
|
prints(x, y, args)
|
|
|
|
func f2(x: int) -> void:
|
|
print(x)
|
|
|
|
func g(...args: int):
|
|
pass
|
|
|
|
func h(...args: Array[int]):
|
|
pass
|
|
|
|
func test():
|
|
pass
|