Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
ce633510
Commit
ce633510
authored
Mar 27, 2018
by
Maxime Perrotin
Browse files
Add more tests to make sure shadowing is ok
parent
64c78459
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/regression/test-shadowing/og.pr
View file @
ce633510
...
...
@@ -65,15 +65,22 @@ toto := { a FALSE, b 4 };
task tutu.a := TRUE;
/* CIF PROCEDURECALL (719, 601), (126, 35) */
call abc (toto, ghost);
/* CIF PROCEDURECALL (577, 65
1
), (410, 35) */
/* CIF PROCEDURECALL (577, 65
6
), (410, 35) */
call writeln ('Value should be (FALSE 4) : ', toto.a, toto.b);
/* CIF return (764, 706), (35, 35) */
/* CIF task (707, 711), (150, 68) */
task toto := titi,
titi := { a TRUE, b 42 },
titi.a := FALSE,
titi.b := 41;
/* CIF return (764, 809), (35, 35) */
return getOut;
endsubstructure;
/* CIF TEXT (57, 58), (287, 140) */
dcl toto MySeq;
dcl ghost MySeq;
dcl titi MySeq;
/* CIF ENDTEXT */
/* CIF START (475, 177), (70, 35) */
START;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment