-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds -allow-implicit for type annotations (#133)
* Adds -allow-implicit for tyep annotations * changed readme --------- Co-authored-by: Bronley Plumb <[email protected]>
- Loading branch information
1 parent
83c44a1
commit 9aab022
Showing
6 changed files
with
142 additions
and
59 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
function test1(arg1, arg2) | ||
print "noop" | ||
end function | ||
|
||
function test2(arg1, arg2) | ||
return arg1 + arg2 | ||
end function | ||
|
||
function test3(arg1 as string, arg2 as string) as string | ||
return arg1 + arg2 | ||
end function | ||
|
||
function test4(arg1 = 0, arg2 = 1) as integer | ||
return arg1 + arg2 | ||
end function | ||
|
||
function test5(arg1 = 0 as float, arg2 = 1 as float) | ||
return arg1 + arg2 | ||
end function |
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