File: function-literal-tests-expected.echo

package info (click to toggle)
openscad 2021.01-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 36,096 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (31 lines) | stat: -rw-r--r-- 1,225 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
WARNING: Can't call function on undefined in file function-literal-tests.scad, line 5
ECHO: undef
WARNING: Can't call function on bool in file function-literal-tests.scad, line 6
ECHO: undef
WARNING: Can't call function on number in file function-literal-tests.scad, line 7
ECHO: undef
WARNING: Can't call function on string in file function-literal-tests.scad, line 8
ECHO: undef
WARNING: Can't call function on vector in file function-literal-tests.scad, line 9
ECHO: undef
WARNING: Can't call function on range in file function-literal-tests.scad, line 10
ECHO: undef
ECHO: is_function1 = false
ECHO: is_function2 = true
ECHO: "A", scope_test1 = 155.3
ECHO: "A", scope_test2 = 177.3
ECHO: "A", scope_test3 = 166.3
ECHO: "B", scope_test1 = 5
ECHO: "B", scope_test2 = 7
ECHO: "B", scope_test3 = 6
WARNING: Can't call function on dynamically scoped variable in file function-literal-tests.scad, line 55
ECHO: specialvar1 = undef
WARNING: Can't call function on dynamically scoped variable in file function-literal-tests.scad, line 54
ECHO: specialvar2 = undef
ECHO: map = [1, 4, 9, 16, 25, 36, 49, 64, 81]
ECHO: filter = [2, 4, 6, 8]
ECHO: immediate = 7
ECHO: func0 = 11
ECHO: func1 = 5
ECHO: fold1 = 45
ECHO: fold2 = 100000