changeset 210 | 63a1376cbebd |
parent 206 | bbe00108a6f3 |
child 218 | 22705d22c105 |
209:40bdf9064e13 | 210:63a1376cbebd |
---|---|
25 } |
25 } |
26 |
26 |
27 # purity test |
27 # purity test |
28 |
28 |
29 function scala_vars { |
29 function scala_vars { |
30 (egrep '\bvar\b|\breturn\b|\.par|ListBuffer|mutable' "$1" 2> /dev/null 1> /dev/null) |
30 (egrep '\bvar\b|\breturn\b|\.par|ListBuffer|mutable|new Array' "$1" 2> /dev/null 1> /dev/null) |
31 } |
31 } |
32 |
32 |
33 |
33 |
34 # var, .par return, ListBuffer test |
34 # var, .par return, ListBuffer test |
35 # |
35 # |