Transpiled version (4103L) is out of date.
svoid test_tok_questionDot() { testTranspilationFunction tok_questionDot( "ret a?.b;", "ret a == null ? null : a.b;", "ret a?.b();", "ret a == null ? null : a.b();", "a?.bla();", "{ if (a != null) a.bla(); }", "deb()?.printVars();", "{ var __0 = deb(); if (__0 != null) __0.printVars(); }", "ret f()?.bla();", "ret rCallF(f(), __0 -> __0 == null ?: __0.bla());", /*"ret a?.b?.c;", "ret __qdot c(__qdot b(a));",*/ "x + a?.bla()", "x + (a == null ? null : a.bla())", "x + a?.bla();", "x + (a == null ? null : a.bla());", ); }
Began life as a copy of #1030765
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030863 | 
| Snippet name: | test_tok_questionDot (extending) | 
| Eternal ID of this version: | #1030863/18 | 
| Text MD5: | 4facaa92a29bcb4f2ea4e949a1bd4d8f | 
| Author: | stefan | 
| Category: | javax / transpiling | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-10-06 11:04:06 | 
| Source code size: | 610 bytes / 20 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 453 / 607 | 
| Version history: | 17 change(s) | 
| Referenced in: | [show references] |