Commit graph

146 commits

Author SHA1 Message Date
Shunsuke Shibayama
53a165e1b8 Add test cases for args.er 2022-11-29 20:28:15 +09:00
Shunsuke Shibayama
2f7d810685 Fix kw args bugs & add a test 2022-11-29 20:16:38 +09:00
Shunsuke Shibayama
eed96967ed Improve error indication for invalid kw args 2022-11-29 14:49:41 +09:00
Shunsuke Shibayama
aa90b09254 Improve error messages for unexpected keyword args 2022-11-29 14:43:27 +09:00
Shunsuke Shibayama
4d226dafcb Fix #255 2022-11-29 14:06:10 +09:00
Shunsuke Shibayama
1f368e1a8d Improve error messages for deleted variable access 2022-11-28 22:13:48 +09:00
Shunsuke Shibayama
fde5a33d54 Improve error message for referring to a variable before its definition 2022-11-28 10:38:01 +09:00
Shunsuke Shibayama
111a9f5615 Fix #247 2022-11-27 20:24:11 +09:00
Shunsuke Shibayama
54686b0c59 Fix #244 2022-11-26 11:39:18 +09:00
Shunsuke Shibayama
d26909c317 Improve type mismatch messages 2022-11-25 17:20:39 +09:00
GreasySlug
f3a9ea728e Update: use ErrorCore loc instead of SubMessage's 2022-11-23 17:22:57 +09:00
Shunsuke Shibayama
2caa6b6ec9
Merge pull request #232 from erg-lang/split-err-msg
Split error messages
2022-11-23 15:55:19 +09:00
Shunsuke Shibayama
ab391620d4 Implement features for embedding 2022-11-22 09:14:25 +09:00
Shunsuke Shibayama
ce9c4250e0 Update inquire.rs 2022-11-22 02:15:39 +09:00
GreasySlug
d64712c7a7 Change: Option to Vec 2022-11-20 09:34:26 +09:00
GreasySlug
4ae81aa05e Add: Location moved to ErrorCore 2022-11-18 12:31:44 +09:00
GreasySlug
000124fea8 Update: changed in support of SubMessage 2022-11-17 23:27:31 +09:00
Shunsuke Shibayama
89c3ada048 Implement coercion to search for attributes 2022-11-15 21:50:42 +09:00
Shunsuke Shibayama
fe0153d98a Add Obj! type definition 2022-11-15 18:48:55 +09:00
Shunsuke Shibayama
d1821b88c4 Update inquire.rs 2022-11-15 13:44:05 +09:00
Shunsuke Shibayama
a9f65d73c1 Remove linter warnings 2022-11-05 03:17:05 +09:00
Shunsuke Shibayama
7f674da751 Update inquire.rs 2022-10-29 10:54:02 +09:00
Shunsuke Shibayama
2c8190f68c Merge branch 'main' into optimize-inference 2022-10-28 18:04:10 +09:00
Shunsuke Shibayama
968d3b5d2c Fix trait implementation check 2022-10-28 18:03:35 +09:00
Shunsuke Shibayama
61037c998c print the number if the argument type is wrong 2022-10-28 00:23:47 +09:00
Shunsuke Shibayama
3d35db4e3b Add initialization check 2022-10-27 23:11:00 +09:00
Shunsuke Shibayama
c1318352f7 Fix some bugs 2022-10-27 18:41:15 +09:00
Shunsuke Shibayama
9d022ba4e1 Optimize type inferer 2022-10-27 10:12:08 +09:00
Shunsuke Shibayama
308f6a77dd Optimize type inferer 2022-10-27 10:10:51 +09:00
Shunsuke Shibayama
d56549f528 Change Eq(R) to Eq 2022-10-25 01:53:52 +09:00
Shunsuke Shibayama
a8a59147f9 Improve similar name searching 2022-10-24 13:45:43 +09:00
Shunsuke Shibayama
12711ba08a Add semver.er 2022-10-23 21:13:45 +09:00
Shunsuke Shibayama
329274e2cd Implement match! 2022-10-23 01:21:18 +09:00
Shunsuke Shibayama
7defa71c86 Add json module 2022-10-20 08:39:52 +09:00
Shunsuke Shibayama
09b5f00305 Fix name resolving bug 2022-10-20 07:43:21 +09:00
Shunsuke Shibayama
cb4c2c7bbf Implement subtype ascription 2022-10-19 19:04:50 +09:00
Shunsuke Shibayama
e0d6b93abd Remove rust-defined python modules 2022-10-19 01:50:14 +09:00
Shunsuke Shibayama
ae15f95191 Fix bugs 2022-10-18 17:17:56 +09:00
Shunsuke Shibayama
46b87e1ca3 Fix: variable to have VarInfo instead of Type 2022-10-18 00:25:47 +09:00
Shunsuke Shibayama
4e2b36bb96 Fix projection type inference bug 2022-10-15 11:15:16 +09:00
Shunsuke Shibayama
d0fa924ea8 Fix visibility checking 2022-10-14 02:41:17 +09:00
Shunsuke Shibayama
72e8242843 Fix bugs 2022-10-13 18:27:13 +09:00
Shunsuke Shibayama
b879788d2a Add Iterable 2022-10-13 01:30:40 +09:00
Shunsuke Shibayama
aa2b45bf86 Fix method call bug 2022-10-13 00:56:43 +09:00
Shunsuke Shibayama
fe339a7dc7 Fix pyimport bug 2022-10-13 00:23:14 +09:00
Shunsuke Shibayama
08e501f103 Fix sub_unify with class&trait 2022-10-12 18:32:24 +09:00
Shunsuke Shibayama
378dc1e6fc Delete ArrayType, etc. 2022-10-12 16:14:06 +09:00
Shunsuke Shibayama
e647c9545f Merge branch 'main' into dict 2022-10-12 13:20:05 +09:00
Shunsuke Shibayama
f07878af48 Update inquire.rs 2022-10-12 10:41:54 +09:00
Shunsuke Shibayama
6c4e1dca35 Downgrade erg_type from crate to module
This is to allow `ConstSubr` to have a `Context`
2022-10-12 02:28:25 +09:00