Skip to content

Commit c80aad2

Browse files
committed
Add test case and fix for space in function parameter type inference
close #31
1 parent 648cbe3 commit c80aad2

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Type inference should stay without space between : and = (issue #31)
2+
func set_avatar_at(at := AvatarAt.LEFT) -> void:
3+
pass
4+
5+
6+
func test_type_inference(a := 1, b := "string", c := true) -> void:
7+
pass
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Type inference should stay without space between : and = (issue #31)
2+
func set_avatar_at(at := AvatarAt.LEFT) -> void:
3+
pass
4+
5+
6+
func test_type_inference(a := 1, b := "string", c := true) -> void:
7+
pass

0 commit comments

Comments
 (0)