The INTEGER_DIVISION warning in deck.gd:19 is a false positive - both operands are int, so / performs integer division correctly in GDScript 4. Using // caused a parse error (Expected expression after '/' operator), which cascaded to GameController/TrainingController resolution failure.
25 lines
1.5 KiB
Plaintext
25 lines
1.5 KiB
Plaintext
SCRIPT ERROR: Parse Error: Could not resolve class "Deck", because of a parser error.
|
|
at: GDScript::reload (res://src/game/game_controller.gd:23)
|
|
GDScript backtrace (most recent call first):
|
|
[0] _initialize (res://tests/test_training_controller.gd:4)
|
|
SCRIPT ERROR: Parse Error: Cannot infer the type of "deck" variable because the value doesn't have a set type.
|
|
at: GDScript::reload (res://src/game/game_controller.gd:23)
|
|
GDScript backtrace (most recent call first):
|
|
[0] _initialize (res://tests/test_training_controller.gd:4)
|
|
SCRIPT ERROR: Parse Error: Could not resolve external class member "deal_cards".
|
|
at: GDScript::reload (res://src/game/game_controller.gd:24)
|
|
GDScript backtrace (most recent call first):
|
|
[0] _initialize (res://tests/test_training_controller.gd:4)
|
|
ERROR: Failed to load script "res://src/game/game_controller.gd" with error "Parse error".
|
|
at: load (modules/gdscript/gdscript.cpp:2907)
|
|
GDScript backtrace (most recent call first):
|
|
[0] _initialize (res://tests/test_training_controller.gd:4)
|
|
SCRIPT ERROR: Parse Error: Could not resolve class "GameController".
|
|
at: GDScript::reload (res://src/game/training_controller.gd:2)
|
|
GDScript backtrace (most recent call first):
|
|
[0] _initialize (res://tests/test_training_controller.gd:9)
|
|
ERROR: Failed to load script "res://src/game/training_controller.gd" with error "Parse error".
|
|
at: load (modules/gdscript/gdscript.cpp:2907)
|
|
GDScript backtrace (most recent call first):
|
|
[0] _initialize (res://tests/test_training_controller.gd:9)
|