All incomplete examples have been updated and some corrections have been made to the parser to make them work. (0.37.17)
This commit is contained in:
parent
37c5ae6f58
commit
92aacff71a
41 changed files with 654 additions and 130 deletions
|
|
@ -8,7 +8,7 @@
|
|||
* Licensed under the terms of the Apache-2.0 license.
|
||||
* https://opensource.org/license/apache-2-0
|
||||
*/
|
||||
|
||||
|
||||
// Short-circuit demo for || and &&
|
||||
|
||||
print("=== short-circuit demo ===")
|
||||
|
|
@ -43,3 +43,15 @@ else
|
|||
print(0)
|
||||
|
||||
print("=== end ===")
|
||||
|
||||
/* Expected output:
|
||||
=== short-circuit demo ===
|
||||
1
|
||||
0
|
||||
OR-NEEDED
|
||||
1
|
||||
AND-NEEDED
|
||||
1
|
||||
=== end ===
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue