Transpiled version (6056L) is out of date.
1 | svoid test_tok_multiTypeArguments() {
|
2 | testTranspilationFunction tok_multiTypeArguments_v2( |
3 | [[ sS loadTextFile(File/S file) { ... } ]],
|
4 | [[ |
5 | sS loadTextFile(S file) { return loadTextFile(newFile(file)); }
|
6 | sS loadTextFile(File file) { ... }
|
7 | ]], |
8 | [[ sS loadTextFile(File/S file, S def) { ... } ]],
|
9 | [[ |
10 | sS loadTextFile(S file, S def) { return loadTextFile(newFile(file), def); }
|
11 | sS loadTextFile(File file, S def) { ... }
|
12 | ]], |
13 | [[ sS loadTextFile(File/S file) { ... } ]],
|
14 | [[ |
15 | sS loadTextFile(S file) { return loadTextFile(newFile(file)); }
|
16 | sS loadTextFile(File file) { ... }
|
17 | ]], |
18 | |
19 | [[ void bla(Graphics2D etc g, int x, int y) { yo; } ]],
|
20 | [[ |
21 | void bla(BufferedImage g, int x, int y) { bla(graphics(g), x, y); }
|
22 | void bla(Graphics2D g, int x, int y) { yo; }
|
23 | ]], |
24 | |
25 | [[ void bla(Iterable<A> or A[] l) { yo; } ]],
|
26 | [[ |
27 | void bla(A[] l) { bla(asList(l)); }
|
28 | void bla(Iterable<A> l) { yo; }
|
29 | ]], |
30 | |
31 | [[ void bla(Iterable<A> or A... l) { yo; } ]],
|
32 | [[ |
33 | void bla(A... l) { bla(asList(l)); }
|
34 | void bla(Iterable<A> l) { yo; }
|
35 | ]], |
36 | |
37 | [[ void bla(Cl or O... l) { yo; } ]],
|
38 | [[ |
39 | void bla(O... l) { bla(asList(l)); }
|
40 | void bla(Cl l) { yo; }
|
41 | ]], |
42 | |
43 | [[ void bla(Cl/O... l) { yo; } ]],
|
44 | [[ |
45 | void bla(O... l) { bla(asList(l)); }
|
46 | void bla(Cl l) { yo; }
|
47 | ]], |
48 | |
49 | [[ void bla(Collection/Object... l) { yo; } ]],
|
50 | [[ |
51 | void bla(Object... l) { bla(asList(l)); }
|
52 | void bla(Collection l) { yo; }
|
53 | ]], |
54 | |
55 | [[ void bla(Pt etc p) { yo; } ]],
|
56 | [[ |
57 | void bla(int p_x, int p_y) { bla(pt(p_x, p_y)); }
|
58 | void bla(Pt p) { yo; }
|
59 | ]], |
60 | ); |
61 | } |
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1031906 |
| Snippet name: | test_tok_multiTypeArguments |
| Eternal ID of this version: | #1031906/16 |
| Text MD5: | 0938cb09871c2a56904a8ba09e010a75 |
| Author: | stefan |
| Category: | javax / transpiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-24 23:46:34 |
| Source code size: | 1779 bytes / 61 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 368 / 548 |
| Version history: | 15 change(s) |
| Referenced in: | [show references] |