Lua code - System test1 | -- This used to crash: |
2 | loadSnippet("#95")()
|
3 | |
4 | -- But this worked: |
5 | |
6 | --loadSnippet("#95", _G)()
|
7 | |
8 | return hello == 1 |
Works :)
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
| ID | Author/Program | Comment | Date |
|---|---|---|---|
| 222 | #1000604 (pitcher) | 2015-08-18 00:51:40 | |
| 213 | #1000610 (pitcher) | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { -- This used to crash: loadSnippet("#95")() -- But this worked: --loadSnippet("#95", _G)() return hello == 1 }} | 2015-08-18 00:51:19 |
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 118 | [visualize] |
| Snippet ID: | #94 |
| Snippet name: | loadSnippet test |
| Eternal ID of this version: | #94/1 |
| Text MD5: | 1ca8496b789f17e7ba4cbf0ebe6fb0bf |
| Author: | stefan |
| Category: | tests |
| Type: | Lua code - System test |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-01-22 20:39:57 |
| Source code size: | 118 bytes / 8 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1761 / 321 |
| Referenced in: | [show references] |