Transpiled version (4928L) is out of date.
set flag tok_formatDollarVars_debug. svoid test_tok_eventInterfaces() { // no args testTranspilationFunction tok_eventInterfaces( [[ transient event interface onRecordAdded as OnRecordAdded shipping RecordAdded; ]], [[ interface onRecordAdded { void OnRecordAdded(RecordAdded event); } transient L<onRecordAdded> OnRecordAdded_listeners; synchronized selfType OnRecordAdded(onRecordAdded l) { OnRecordAdded_listeners = addOrCreate(OnRecordAdded_listeners, l); this; } synchronized Cl<onRecordAdded> OnRecordAdded_listeners() { ret cloneList(OnRecordAdded_listeners); } void OnRecordAdded(RecordAdded event) { for (l : OnRecordAdded_listeners()) pcall { l?.OnRecordAdded(event); } } ]]); }
Began life as a copy of #1027846
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1032996 | 
| Snippet name: | test_tok_eventInterfaces | 
| Eternal ID of this version: | #1032996/6 | 
| Text MD5: | cfb3caaa5afb381096226f7686aa2393 | 
| Author: | stefan | 
| Category: | javax / transpiling | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-10-11 11:00:37 | 
| Source code size: | 784 bytes / 19 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 404 / 543 | 
| Version history: | 5 change(s) | 
| Referenced in: | [show references] |