-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: get_tree when using no parameter functions
当调用无参数的函数是,其parameters会成为None,导致调用get_tree函数报错,添加一个判断即可解决问题
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
DECLARE a : INTEGER | ||
a <- 1 | ||
OUTPUT a | ||
FUNCTION a RETURNS INTEGER | ||
RETURN 1 | ||
ENDFUNCTION | ||
|
||
OUTPUT 1 |