-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #957 from Spartan322/4.3.1-cherry-pick/bugs-gdscript
[4.3] Cherry-picks for the 4.3 (4.3.1) branch - 2nd gdscript bugs batch
- Loading branch information
Showing
29 changed files
with
351 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
modules/gdscript/tests/scripts/completion/assignment_options/enum_attribute.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[output] | ||
include=[ | ||
{"display": "new(…)"}, | ||
{"display": "SIZE_EXPAND"}, | ||
{"display": "SIZE_EXPAND_FILL"}, | ||
{"display": "SIZE_FILL"}, | ||
{"display": "SIZE_SHRINK_BEGIN"}, | ||
{"display": "SIZE_SHRINK_CENTER"}, | ||
{"display": "SIZE_SHRINK_END"}, | ||
] | ||
exclude=[ | ||
{"display": "Control.SIZE_EXPAND"}, | ||
{"display": "Control.SIZE_EXPAND_FILL"}, | ||
{"display": "Control.SIZE_FILL"}, | ||
{"display": "Control.SIZE_SHRINK_BEGIN"}, | ||
{"display": "Control.SIZE_SHRINK_CENTER"}, | ||
{"display": "Control.SIZE_SHRINK_END"}, | ||
{"display": "contro_var"} | ||
] |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/assignment_options/enum_attribute.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Control | ||
|
||
var contro_var | ||
|
||
func _ready(): | ||
size_flags_horizontal = Control.➡ | ||
pass |
19 changes: 19 additions & 0 deletions
19
modules/gdscript/tests/scripts/completion/assignment_options/enum_attribute_identifier.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[output] | ||
include=[ | ||
{"display": "new(…)"}, | ||
{"display": "SIZE_EXPAND"}, | ||
{"display": "SIZE_EXPAND_FILL"}, | ||
{"display": "SIZE_FILL"}, | ||
{"display": "SIZE_SHRINK_BEGIN"}, | ||
{"display": "SIZE_SHRINK_CENTER"}, | ||
{"display": "SIZE_SHRINK_END"}, | ||
] | ||
exclude=[ | ||
{"display": "Control.SIZE_EXPAND"}, | ||
{"display": "Control.SIZE_EXPAND_FILL"}, | ||
{"display": "Control.SIZE_FILL"}, | ||
{"display": "Control.SIZE_SHRINK_BEGIN"}, | ||
{"display": "Control.SIZE_SHRINK_CENTER"}, | ||
{"display": "Control.SIZE_SHRINK_END"}, | ||
{"display": "contro_var"} | ||
] |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/assignment_options/enum_attribute_identifier.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Control | ||
|
||
var contro_var | ||
|
||
func _ready(): | ||
size_flags_horizontal = Control.SIZE➡ | ||
pass |
12 changes: 12 additions & 0 deletions
12
modules/gdscript/tests/scripts/completion/assignment_options/enum_identifier.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[output] | ||
include=[ | ||
{"display": "Control.SIZE_EXPAND"}, | ||
{"display": "Control.SIZE_EXPAND_FILL"}, | ||
{"display": "Control.SIZE_FILL"}, | ||
{"display": "Control.SIZE_SHRINK_BEGIN"}, | ||
{"display": "Control.SIZE_SHRINK_CENTER"}, | ||
{"display": "Control.SIZE_SHRINK_END"}, | ||
] | ||
exclude=[ | ||
{"display": "contro_var"} | ||
] |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/assignment_options/enum_identifier.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Control | ||
|
||
var contro_var | ||
|
||
func _ready(): | ||
size_flags_horizontal = Con➡ | ||
pass |
12 changes: 12 additions & 0 deletions
12
modules/gdscript/tests/scripts/completion/assignment_options/enum_no_identifier.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[output] | ||
include=[ | ||
{"display": "Control.SIZE_EXPAND"}, | ||
{"display": "Control.SIZE_EXPAND_FILL"}, | ||
{"display": "Control.SIZE_FILL"}, | ||
{"display": "Control.SIZE_SHRINK_BEGIN"}, | ||
{"display": "Control.SIZE_SHRINK_CENTER"}, | ||
{"display": "Control.SIZE_SHRINK_END"}, | ||
] | ||
exclude=[ | ||
{"display": "contro_var"} | ||
] |
7 changes: 7 additions & 0 deletions
7
modules/gdscript/tests/scripts/completion/assignment_options/enum_no_identifier.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Control | ||
|
||
var contro_var | ||
|
||
func _ready(): | ||
size_flags_horizontal = ➡ | ||
pass |
9 changes: 9 additions & 0 deletions
9
modules/gdscript/tests/scripts/completion/index/array_type.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[output] | ||
include=[ | ||
{"display": "outer"}, | ||
{"display": "inner"}, | ||
] | ||
exclude=[ | ||
{"display": "append"}, | ||
{"display": "\"append\""}, | ||
] |
10 changes: 10 additions & 0 deletions
10
modules/gdscript/tests/scripts/completion/index/array_type.gd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
extends Node | ||
|
||
var outer | ||
|
||
func _ready() -> void: | ||
var inner | ||
|
||
var array: Array | ||
|
||
array[i➡] |
Oops, something went wrong.