Transpiled version (4877L) is out of date.
1 | svoid test_tok_shortLambdas() { |
2 | testTranspilationFunction tok_shortLambdas( |
3 | "bla(-> blubb)", |
4 | "bla(() -> blubb)", |
5 | "IF0 f = -> yo;", |
6 | "IF0 f = () -> yo;", |
7 | "IF1 f = a -> b;", |
8 | "IF1 f = a -> b;", |
9 | "IF2 f = (a, x) -> b;", |
10 | "IF2 f = (a, x) -> b;", |
11 | "f(a, -> x);", |
12 | "f(a, () -> x);", |
13 | "return -> x;", |
14 | "return () -> x;", |
15 | "ret a -> -> x;", |
16 | "ret a -> () -> x;", |
17 | "-> .x()", |
18 | "\*anonVar(1)*/ -> \*anonVar(1)*/.x()", |
19 | ); |
20 | } |
Began life as a copy of #1032260
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032612 |
Snippet name: | test_tok_shortLambdas |
Eternal ID of this version: | #1032612/9 |
Text MD5: | 012f2d33179d9343fc2b7f6f992bf0e0 |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-26 22:48:38 |
Source code size: | 487 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 223 / 339 |
Version history: | 8 change(s) |
Referenced in: | [show references] |