File: base_outer_resolution_extend.notest.gd

package info (click to toggle)
godot 4.4.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 229,428 kB
  • sloc: cpp: 1,657,504; ansic: 186,969; xml: 153,923; cs: 36,104; java: 29,122; python: 15,230; javascript: 6,211; yacc: 4,115; pascal: 818; objc: 459; sh: 459; makefile: 109
file content (23 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
extends "base_outer_resolution_base.notest.gd"

const B: = preload("base_outer_resolution_b.notest.gd")

static func test_a(a: A) -> void:
	print(a is A)

static func test_b(b: B) -> void:
	print(b is B)

class InnerClass extends InnerClassInBase:
	static func test_c(c: C) -> void:
		print(c is C)

	class InnerInnerClass:
		static func test_a_b_c(a: A, b: B, c: C) -> void:
			print(a is A and b is B and c is C)

		static func test_enum(test_enum: C.TestEnum) -> void:
			print(test_enum == C.TestEnum.HELLO_WORLD)

		static func test_a_prime(a_prime: A.APrime) -> void:
			print(a_prime is A.APrime)