Commit graph

228 commits

Author SHA1 Message Date
Shunsuke Shibayama
0b7495fdea Enhance: allow multiple funcdefs in Python compatible mode 2022-12-23 00:52:33 +09:00
Shunsuke Shibayama
fca322d784 Add a testcase for subtyping.er 2022-12-21 18:46:34 +09:00
Shunsuke Shibayama
06e0b9c1ae Fix a scope escaping bug 2022-12-21 14:32:46 +09:00
Shunsuke Shibayama
fb50e77cea Update lower.rs 2022-12-21 14:21:08 +09:00
Shunsuke Shibayama
08aa4054a1 Update lower.rs 2022-12-20 23:36:43 +09:00
Shunsuke Shibayama
351ac57188 Add python shadowing mode 2022-12-20 23:21:36 +09:00
Shunsuke Shibayama
b05bb67a51 Update lower.rs 2022-12-20 22:38:21 +09:00
Shunsuke Shibayama
e7d82ecf4a Update lower.rs 2022-12-17 12:10:08 +09:00
Shunsuke Shibayama
8f873109a2 Implement the return type warning 2022-12-16 18:07:07 +09:00
Shunsuke Shibayama
0fc53b3d65 Implement return, yield methods 2022-12-16 17:34:59 +09:00
Shunsuke Shibayama
4a46c09648 Fix: a bug that all history to be erased when an error occurred in the REPL 2022-12-15 23:32:14 +09:00
Shunsuke Shibayama
800b6c43d9 Eliminate todo!s 2022-12-15 15:18:25 +09:00
Shunsuke Shibayama
5342edcf4d eliminate todo!s 2022-12-14 23:48:57 +09:00
Shunsuke Shibayama
dfe328de5c Update lower.rs 2022-12-14 20:11:14 +09:00
Shunsuke Shibayama
74e9e077bd Fix a bug that scopes are not detached when errors occur 2022-12-14 20:00:24 +09:00
Shunsuke Shibayama
47b9500802 Change the type of pop_mod_ctx 2022-12-14 19:54:56 +09:00
Shunsuke Shibayama
f3a7d26e71 Create declare mod 2022-12-14 17:47:40 +09:00
Shunsuke Shibayama
3d69353bf6 Merge branch 'main' into pylyzer-mode 2022-12-14 09:23:47 +09:00
Shunsuke Shibayama
157c0cb7a5 Add Runnable::cfg_mut 2022-12-14 09:22:50 +09:00
Shunsuke Shibayama
3c17518963 Rename ErgConfig::pylyzer_mode -> python_compatible_mode 2022-12-14 06:11:54 +09:00
Shunsuke Shibayama
f48982881f Fix a bug with VarName::trim_end_proc_mark 2022-12-14 05:49:30 +09:00
Shunsuke Shibayama
20d6943fbe Update lower.rs 2022-12-14 05:15:55 +09:00
Shunsuke Shibayama
855d463011 Add trim_end_proc_mark 2022-12-13 22:38:20 +09:00
Shunsuke Shibayama
3c90d9b8ed Fix SharedModuleCache to take ErgConfig as an argument 2022-12-13 20:41:05 +09:00
Shunsuke Shibayama
2e289f7cd1 Update lower.rs 2022-12-12 12:49:54 +09:00
Shunsuke Shibayama
03319d1c8c Add ast::Dummy 2022-12-11 23:43:36 +09:00
Shunsuke Shibayama
1142d327e5 Fix: arbitrary attributes of Failure type objects to be Failure 2022-12-11 23:32:28 +09:00
Shunsuke Shibayama
de39186103 Enhance array out of bounds hint messages 2022-12-11 21:51:11 +09:00
Shunsuke Shibayama
e1c8bb415b Add Expr::Dummy 2022-12-11 18:28:20 +09:00
Shunsuke Shibayama
2e60d8c885 Add ast::AttrDef 2022-12-11 12:15:34 +09:00
Shunsuke Shibayama
f1ff0d1ddf Fix double type checking of return values 2022-12-11 12:00:33 +09:00
Shunsuke Shibayama
ddd7abbaed Add NoTypeDisplay trait 2022-12-09 22:01:09 +09:00
Shunsuke Shibayama
4ed278e75c Fix #282 2022-12-09 19:46:59 +09:00
Shunsuke Shibayama
a395938413 Fix an Erg standard library loading bug 2022-12-09 11:48:13 +09:00
Shunsuke Shibayama
52c76431ee Merge branch 'main' into patch 2022-12-05 17:25:45 +09:00
Shunsuke Shibayama
4a0143302f Fix #272 2022-12-05 17:21:46 +09:00
Shunsuke Shibayama
6cb3231845 Fix a refinement + union types bug 2022-12-05 00:41:37 +09:00
Shunsuke Shibayama
bade70ef91 Implement Patch 2022-12-02 20:03:02 +09:00
Shunsuke Shibayama
397214554a Add lambda block use check 2022-11-29 01:15:24 +09:00
Shunsuke Shibayama
043ee544e6 Change CompleteArtifact to be able to hold non-HIR structs 2022-11-28 21:52:46 +09:00
Shunsuke Shibayama
1f33e3b642 Change UnusedError to Warning 2022-11-28 17:01:35 +09:00
Shunsuke Shibayama
111a9f5615 Fix #247 2022-11-27 20:24:11 +09:00
Shunsuke Shibayama
a8dc65a916 Update lower.rs 2022-11-26 12:36:34 +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
Shunsuke Shibayama
7bcc766500 Add Runnable::initialize 2022-11-23 19:43:56 +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
GreasySlug
dad6fd1996 Clean: into() convert to_string() or to_owned() 2022-11-22 14:29:24 +09:00
Shunsuke Shibayama
ab391620d4 Implement features for embedding 2022-11-22 09:14:25 +09:00
Yuna Tomida
743b0d97e2
enable shortened/normal mixed record definition 2022-11-21 12:14:25 +09:00