File: variable-scope-tests-expected.echo

package info (click to toggle)
openscad 2021.01-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 35,608 kB
  • sloc: cpp: 53,187; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 114
file content (30 lines) | stat: -rw-r--r-- 1,220 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ECHO: "special variable inheritance"
ECHO: 23, 5
WARNING: Ignoring unknown variable 'a' in file variable-scope-tests.scad, line 8
ECHO: undef
ECHO: 23, 5
ECHO: "$children scope"
ECHO: "$children should be 1: ", 1
ECHO: "$children should be 4: ", 4
ECHO: "$children should be 1: ", 1
ECHO: "child_module_1 child"
ECHO: "child_module_2 child 0"
ECHO: "child_module_2 child 1"
ECHO: "copy $children"
ECHO: "copy_children_module: ", 2, 2
ECHO: "inner variables shadows parameter"
WARNING: Module inner_variables: Parameter b is overwritten with a literal in file variable-scope-tests.scad, line 45
ECHO: 5, 24
ECHO: "user-defined special variables as parameter"
ECHO: 7
ECHO: 7
ECHO: "assign only visible in children's scope"
DEPRECATED: The assign() module will be removed in future releases. Use a regular assignment instead. in file variable-scope-tests.scad, line 72
WARNING: Ignoring unknown variable 'c' in file variable-scope-tests.scad, line 65
ECHO: undef
ECHO: 5
ECHO: "undeclared variable can still be passed and used"
WARNING: variable d not specified as parameter in file variable-scope-tests.scad, line 81
ECHO: 6
ECHO: "attempt to assign from a not-yet-defined variable which also exists globally"
ECHO: 5, 1