File tree 1 file changed +9
-19
lines changed
1 file changed +9
-19
lines changed Original file line number Diff line number Diff line change 3
3
#
4
4
#
5
5
6
- -- local * and local ^
7
-
8
- -- seems like running in moon messes up require order
9
-
10
6
- don't reuse _, put a local on it, so we don't keep around trash
11
7
12
8
-- swithc X with Func
13
9
14
- - or= and=
15
-
16
10
- error with stray comma at end of line
17
11
18
12
* multiline comments
19
13
* table slices (almost)
20
14
21
15
* combine for and if line decorators
22
16
23
- * export later? nah
24
-
25
- x = 232
26
- export x
27
-
28
-
29
17
* allow return anywhere in block
30
18
31
- * any/every keywords for comprehensions? (what about iterators)
19
+ -- all function literals have a string that is their function definition
32
20
33
- * let array items in table be defined without {} when indented (no, too similar to arguments)
21
+ -- super should work here:
34
22
35
- -- for searching? for returning to accumulator early?
36
- x = for thing in *things
37
- if is_important thing
38
- break thing
23
+ thing = Thing!
24
+ thing.method = ->
25
+ super 1,2,3
39
26
40
- -- all function literals have a string that is their function definition
27
+ -- goes to
41
28
29
+ thing.method = function(self) do
30
+ self.__class:method(1,2,3)
31
+ end
You can’t perform that action at this time.
0 commit comments