Commit graph

14 commits

Author SHA1 Message Date
shiyuge
e338512259
fix: do not invert token.Less to token.Greater in compiler (#391)
* fix: do not invert token.Less to token.Great in compiler

* unittest: do not invert token.Less to token.Great in compiler
2022-08-29 17:02:14 +01:00
E Sequeira
6fc8053992
fix runtime panics on self assignment (#387) 2022-07-20 16:09:43 +01:00
E Sequeira
71459c44f6
fix deadcode optimization (#378) 2022-06-10 11:15:34 +05:30
KEINOS
4846cf5243
add custom extension support for importing source file (#350)
* chore: add tests for custom extension

* feat: cusom source extension #286

* fix: path to test directory

* add getter + change setter name for file extension

* add tests of source file extension validation

* fix: add validation for file extension names

* fix: property importExt -> importFileExt

* fix: redundant check (no resetting)

* fix: failing test wich did not follow the new spec

* chore: add detailed description of the test

* chore: fix doc comment to be descriptive

* docs: add note about customizing the file extension
2021-11-13 15:13:39 -08:00
Bruno Franca dos Reis
3b65ddf2b8
Extract ModuleGetter interface for dynamic imports (#349)
* Extract ModuleGetter interface for dynamic imports

* ModuleGetter: add example in interop doc.
2021-11-06 17:34:48 -07:00
daniel
15494e1691
fix local symbol resolution bug (#316)
* fix local symbol resolution bug

* 1
2020-09-13 19:33:48 -07:00
Ozan Hacıbekiroğlu
7834251c84
spread last call argument v2 (#302) 2020-06-08 18:54:24 +02:00
Ozan Hacıbekiroğlu
4ed75764ce
enable relative imports (#285)
* enable relative imports

* update per 1st review

* remove symlink stuffs

* fix cli run in make file

* make resolving import path explicit

* fix importDir
2020-05-22 13:57:38 -07:00
Ozan Hacıbekiroğlu
e059953c35
fix for in loop symbols (#290)
* fix for in loop symbols

* fix comments
2020-05-22 11:38:29 -07:00
Ozan Hacıbekiroğlu
e6689015df
Fix nested file imports (#282)
* fix nested file import

* better bytes prefix check

* remove comment
2020-05-19 07:24:03 -07:00
daniel
50d0ba75d5
fix a compiler bug with dead code optimization (#284) 2020-05-19 07:00:53 -07:00
daniel
d5b24138d3
add go module v2 (#244) 2019-12-29 13:38:51 -08:00
daniel
a9a233a750
fix internal package issue (#241)
* fix internal package issue

* ExampleSimple -> Example
2019-12-24 07:42:30 -08:00
daniel
c88a5f506e
some code clean up (#237) 2019-12-20 11:40:38 -08:00