equal
deleted
inserted
replaced
24 } |
24 } |
25 |
25 |
26 # purity test |
26 # purity test |
27 |
27 |
28 function scala_vars { |
28 function scala_vars { |
29 (egrep '\bvar\b|\breturn\b|\.par\.|\.par |ListBuffer|AtomicInteger|mutable|util.control|new Array' c$out 2> /dev/null 1> /dev/null) |
29 (sed 's/immutable/ok/g' c$out > cb$out; |
|
30 egrep '\bvar\b|\breturn\b|\.par\.|\.par |ListBuffer|AtomicInteger|mutable|util.control|new Array' cb$out 2> /dev/null 1> /dev/null) |
30 } |
31 } |
31 |
32 |
32 |
33 |
33 |
34 |
34 # compilation test |
35 # compilation test |