MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

move tests

+23 -1
+1 -1
meson.build
··· 68 68 build_date = run_command('date', '+%Y-%m-%d', check: true).stdout().strip() 69 69 70 70 version_conf = configuration_data() 71 - version_conf.set('ANT_VERSION', '0.0.7.1') 71 + version_conf.set('ANT_VERSION', '0.0.7.3') 72 72 version_conf.set('ANT_GIT_HASH', git_hash) 73 73 version_conf.set('ANT_BUILD_DATE', build_date) 74 74
+22
tests/test_minimal.cjs
··· 1 + console.log('Testing recursive string assignment with objects'); 2 + 3 + function testRecursion(depth, params) { 4 + if (depth >= 10) return 'done'; 5 + 6 + let paramValue = ''; 7 + // This assignment causes parser corruption in certain contexts 8 + paramValue = 'test'; 9 + 10 + if (paramValue !== '') { 11 + params['test' + depth] = paramValue; 12 + const result = testRecursion(depth + 1, params); 13 + delete params['test' + depth]; 14 + return result; 15 + } 16 + 17 + return 'failed'; 18 + } 19 + 20 + const params = {}; 21 + const result = testRecursion(0, params); 22 + console.log('Result:', result);