Commit graph

185 commits

Author SHA1 Message Date
Shunsuke Shibayama
3dcd4d2dae test: add embedding tests 2023-02-25 10:41:16 +09:00
Shunsuke Shibayama
59f07f6d1d fix: Structural types bugs 2023-02-24 13:08:18 +09:00
Shunsuke Shibayama
7c748f223a fix: Structural subtyping bug
fix: `contains_tvar`
2023-02-24 09:49:22 +09:00
Shunsuke Shibayama
047f86bbee test: prevent some tests from being run locally 2023-02-24 07:49:12 +09:00
Shunsuke Shibayama
aaa6b40b24 feat: support Structural types for methods 2023-02-23 18:12:05 +09:00
Shunsuke Shibayama
2c3a27ed4b fix: Structural types instantiation/generalization 2023-02-23 02:35:05 +09:00
Shunsuke Shibayama
5c4c43ab2f fix: failure of the type inference of another module 2023-02-22 11:55:02 +09:00
Shunsuke Shibayama
aa2cea60dd fix: quantified subroutine subtyping bugs 2023-02-22 02:40:51 +09:00
Shunsuke Shibayama
3fea50f8bc fix: type generalization bugs 2023-02-21 11:20:15 +09:00
Shunsuke Shibayama
f746b815d3 test: add should_ok/subtyping.er 2023-02-20 00:46:10 +09:00
Shunsuke Shibayama
b552cad3b2 feat: add Bytes.d.er/Obj.d.er 2023-02-18 13:46:48 +09:00
Shunsuke Shibayama
7389f68e3e fix(compiler): infinite recursion bug of derefine 2023-02-18 00:43:52 +09:00
Shunsuke Shibayama
a694880ff4 fix(compiler): eliminate panic!/todo!s 2023-02-16 23:48:22 +09:00
Shunsuke Shibayama
307087f6b5 test: let some tests not to run locally 2023-02-14 11:30:23 +09:00
Shunsuke Shibayama
020a9e159b fix(typechecker): type-var subtyping bug 2023-02-13 02:27:30 +09:00
Shunsuke Shibayama
4bb81eccad fix(typechecker): ref/ref! subtyping bug 2023-02-13 02:12:05 +09:00
Shunsuke Shibayama
26046d90e5 fix(typechecker): type assignment bug for bound methods 2023-02-11 16:00:15 +09:00
Shunsuke Shibayama
72b4425191
Merge pull request #362 from C-BJ/improve-repl
feat(REPL): improve interactive experience
2023-02-08 11:16:36 +09:00
GreasrySlug
0bf2097460 test(REPL): add script of example/class.er 2023-02-06 16:43:36 +09:00
Cai BingJun
003832d66b test: optimize eval tests, Fix #380 2023-02-06 14:04:47 +08:00
GreasrySlug
735e157604 test(REPL): check at-sign and class block 2023-02-06 10:59:05 +09:00
Cai Bingjun
c22cd79a89
Merge branch 'main' into improve-repl 2023-02-05 14:07:08 +08:00
GreasySlug
fd1fa8792c clean: change name and ident 2023-02-04 13:59:47 +09:00
GreasySlug
dca7830e25 fix: add unsuccess test 2023-02-04 13:44:05 +09:00
GreasySlug
a7b3342f04 test: remove negative test
because REPL cannot return the number of errors
2023-02-04 13:09:08 +09:00
Cai BingJun
1a3da73793 Update REPL test 2023-02-04 11:50:04 +08:00
Shunsuke Shibayama
e229bfa23c optimize tests 2023-02-04 12:14:23 +09:00
Cai Bingjun
fa476b93a4
Merge branch 'main' into improve-repl 2023-02-03 14:04:21 +08:00
Shunsuke Shibayama
8cdc735486 Fix builtin types methods 2023-02-03 00:23:42 +09:00
Cai Bingjun
556ce8e6aa
Merge branch 'main' into improve-repl 2023-02-02 15:07:52 +08:00
Slug
f4a728d59d
Merge pull request #372 from toddlerer/add-integration-eval-tests-base
feat: add integration eval tests base
2023-02-01 22:06:25 +09:00
GreasySlug
12a97adc5d fix: remove color codes from err string 2023-02-01 21:56:42 +09:00
GreasySlug
3b09fdfdef clean: cargo fmt 2023-02-01 21:55:26 +09:00
GreasySlug
c367054ed6 update: simple embed expr in string 2023-02-01 21:55:09 +09:00
Shunsuke Shibayama
208433d337 Fix a bug 2023-02-01 10:54:23 +09:00
Shunsuke Shibayama
c7096b17f1 Merge branch 'main' into feature-var-params-fn 2023-02-01 02:05:09 +09:00
toddlerer
34921a4337
test(eval): change eval tests base 2023-01-31 22:20:14 +09:00
GreasrySlug
a51031df45 test: clean the code and add unsuccess test 2023-01-31 09:47:01 +09:00
toddlerer
db7035efdf
test(eval): use spawn 2023-01-29 14:08:24 +09:00
toddlerer
bec91abf7b
test: fix eval test crlf problem on windows 2023-01-29 05:23:32 +09:00
toddlerer
529bd51bb2
feat: add integration eval tests base 2023-01-29 05:05:10 +09:00
GreasrySlug
97cde41592 update: use debug colors 2023-01-26 14:46:44 +09:00
Shunsuke Shibayama
23a7e2caf3 Add user-defined var-params function 2023-01-26 01:20:35 +09:00
Shunsuke Shibayama
b76d63f9a5 fix socket connection problems 2023-01-25 01:19:45 +09:00
Shunsuke Shibayama
fa5bb4f615 fix #321
Add `ExitStatus`
Fix REPL tests
2023-01-25 00:11:48 +09:00
Shunsuke Shibayama
2e91472d0e
Update array.er 2023-01-24 21:15:09 +09:00
Shunsuke Shibayama
1d24655588 Add REPL tests 2023-01-17 16:32:25 +09:00
Shunsuke Shibayama
c868ad7266 Move examples doesn't work yet 2023-01-07 20:04:35 +09:00
Shunsuke Shibayama
5809ce94f2 Fix a class method accessing bug 2023-01-03 23:58:52 +09:00
Shunsuke Shibayama
bf551dcc55 Fix a class attributes accessing bug 2023-01-03 16:00:27 +09:00