1 | svoid test_tok_delegateTo() {
|
2 | testTranspilation tok_delegateTo( |
3 | [[ delegate bla to x. |
4 | bla(); ]], [[ x.bla(); ]], |
5 | [[ delegate bla to x. |
6 | blu.bla(); ]], [[ blu.bla(); ]], |
7 | [[ delegate bla, blu to x. |
8 | bla(); blu(); ]], |
9 | [[ x.bla(); x.blu(); ]], |
10 | [[ delegate Sub to Outer. outer.new Sub() ]], |
11 | [[ outer.new Sub() ]], |
12 | ); |
13 | } |
Began life as a copy of #1024494
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034286 |
| Snippet name: | test_tok_delegateTo |
| Eternal ID of this version: | #1034286/6 |
| Text MD5: | c00d12f5fe78f913bf9192910be87f6c |
| Author: | stefan |
| Category: | javax / transpiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-06-23 23:58:13 |
| Source code size: | 374 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 437 / 479 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |