Libraryless. Click here for Pure Java version (5815L/32K).
1 | svoid test_tok_castQuestionDot() {
|
2 | testTranspilationFunction tok_castQuestionDot( |
3 | "x = a cast B ? a.b : a.c;", |
4 | "x = a instanceof B ? ((B) a).b : a.c;", |
5 | ); |
6 | } |
Began life as a copy of #1032260
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033874 |
| Snippet name: | test_tok_castQuestionDot |
| Eternal ID of this version: | #1033874/1 |
| Text MD5: | 3c122748ea51d94c0dd8296c6016392b |
| Transpilation MD5: | 6f6648516688a31f6d6e2ca54c43fb30 |
| Author: | stefan |
| Category: | javax / transpiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-08 19:16:52 |
| Source code size: | 173 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 380 / 487 |
| Referenced in: | [show references] |