File: scope-assignment-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 (43 lines) | stat: -rw-r--r-- 1,940 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
31
32
33
34
35
36
37
38
39
40
41
42
43
WARNING: e was assigned on line 49 but was overwritten in file scope-assignment-tests.scad, line 52
WARNING: f was assigned on line 58 but was overwritten in file scope-assignment-tests.scad, line 61
WARNING: g was assigned on line 67 but was overwritten in file scope-assignment-tests.scad, line 69
WARNING: h was assigned on line 73 but was overwritten in file scope-assignment-tests.scad, line 75
WARNING: Ignoring unknown variable 'h' in file scope-assignment-tests.scad, line 75
WARNING: undefined operation (undefined * number) in file scope-assignment-tests.scad, line 75
ECHO: "union scope"
ECHO: "local a (5):", 5
ECHO: "global a (4):", 4
ECHO: "module scope:"
WARNING: Module mymodule: Parameter b is overwritten with a literal in file scope-assignment-tests.scad, line 12
ECHO: "local b (7)", 7
WARNING: Module mymodule: Parameter b is overwritten with a literal in file scope-assignment-tests.scad, line 12
ECHO: "local b (7)", 7
ECHO: "module children scope:"
WARNING: Module mymodule2: Parameter b2 is overwritten with a literal in file scope-assignment-tests.scad, line 20
ECHO: "b2 (3)", 3
ECHO: "for loop (c = 0,1,25):"
ECHO: "c", 0
ECHO: "c", 1
ECHO: "c", 25
ECHO: "if scope:"
ECHO: "d (8)", 8
ECHO: "else scope:"
ECHO: "d (9)", 9
ECHO: "anonymous inner scope (scope ignored):"
ECHO: "outer e (3)", 3
ECHO: "inner e (3)", 3
ECHO: "anonymous scope (scope ignored):"
ECHO: "outer f (2)", 2
ECHO: "inner f (2)", 2
ECHO: "anonymous scope reassign:"
ECHO: "g (2)", 2
ECHO: "anonymous reassign using outer (scope ignored)", undef
ECHO: "h (undef)", undef
ECHO: "override variable in assign scope:"
DEPRECATED: The assign() module will be removed in future releases. Use a regular assignment instead. in file scope-assignment-tests.scad, line 80
ECHO: "i (10)", 10
ECHO: "group scope:"
ECHO: "local a (11)", 11
ECHO: "legimate case for module parameter overwrite: (see #2628)"
ECHO: "parameter a(20)", 20
ECHO: "local a(10)", 10