Commit graph

221 commits

Author SHA1 Message Date
Shunsuke Shibayama
af360a52cc fix: constructor typing 2024-08-20 22:26:02 +09:00
Shunsuke Shibayama
8eb8cd7c4a chore: union method type 2024-08-19 12:30:23 +09:00
Shunsuke Shibayama
9682c0ddaf Update classes.rs 2024-08-17 10:41:46 +09:00
Shunsuke Shibayama
2ff3194d69 feat: const classof func 2024-08-15 11:15:22 +09:00
Shunsuke Shibayama
b75325dbdb Update classes.rs 2024-08-13 13:28:38 +09:00
Shunsuke Shibayama
79b1c1394d feat: add ReDef.t_spec 2024-08-11 14:18:15 +09:00
Shunsuke Shibayama
ea8f1ea91f feat: add Bytes methods 2024-08-10 18:40:46 +09:00
Shunsuke Shibayama
0875c7e5c9 fix: structural type check 2024-08-09 13:38:04 +09:00
Shunsuke Shibayama
dcbd328b78 feat: add List.index 2024-08-08 19:59:09 +09:00
Shunsuke Shibayama
13eaf8d3a7 fix: eliminate unwrap/unreachable 2024-06-17 13:09:50 +09:00
Shunsuke Shibayama
325ab03b24 fix: ByteArray! is not defined 2024-06-15 14:48:13 +09:00
Shunsuke Shibayama
22cd07a414 chore: improve overload error msg 2024-06-15 14:14:38 +09:00
Shunsuke Shibayama
559b465888 fix: minor bugs 2024-05-22 16:33:10 +09:00
Shunsuke Shibayama
dc7565cb26 fix: type generalization bug 2024-05-17 15:57:16 +09:00
Shunsuke Shibayama
fa2c53461d fix: generalization is not performed for some types 2024-05-07 22:31:17 +09:00
Shunsuke Shibayama
96f4c1cf98 feat: add {Str, List}.from 2024-04-30 18:44:31 +09:00
Shunsuke Shibayama
10d1d28022 Update classes.rs 2024-04-29 23:31:11 +09:00
Shunsuke Shibayama
63dad2eb26 chore: fix isinstance/issubclass signature 2024-04-27 14:13:28 +09:00
Shunsuke Shibayama
1c699cc2f3 feat: add Sealed trait 2024-04-27 13:52:15 +09:00
Shunsuke Shibayama
86cfe8f81a feat: add HomogenousTuple
fix: iterator bugs
2024-04-27 00:28:03 +09:00
Shunsuke Shibayama
e220381fa2 feat: add some object methods 2024-04-26 12:39:58 +09:00
Shunsuke Shibayama
2887a77f70 fix: mutable type method access bug 2024-04-26 11:59:55 +09:00
Shunsuke Shibayama
44b4b8d82a fix: trait impl check for declared classes 2024-04-26 01:18:25 +09:00
Shunsuke Shibayama
40c8342d9e fix: declared_in is Some even if not exists 2024-04-20 23:28:23 +09:00
Shunsuke Shibayama
1f88084360 feat: best-effort type instantiation 2024-04-20 22:51:14 +09:00
Shunsuke Shibayama
7f29316a98 feat: filter method can also narrow types 2024-04-05 00:38:38 +09:00
Shunsuke Shibayama
c6eb78a44d refactor!: rename Array -> List 2024-04-04 23:24:07 +09:00
Shunsuke Shibayama
4ac6276ba9 feat: add Iterable methods 2024-03-30 13:26:02 +09:00
Shunsuke Shibayama
d881a6ae3e feat: add FileDescriptor and enhance os decls 2024-03-23 11:28:56 +09:00
Shunsuke Shibayama
bd39393746 feat: type narrowing with filter 2024-03-21 11:56:17 +09:00
Shunsuke Shibayama
5345b07791 feat: implement the built-in trait entities 2024-03-20 16:53:03 +09:00
Shunsuke Shibayama
e38674945b fix: type relation bugs 2024-03-13 12:40:43 +09:00
Shunsuke Shibayama
24141ea3f3 fix: import resolution 2024-03-12 23:38:39 +09:00
Shunsuke Shibayama
57b919feb7 feat: add breakpoint!, hex, object, list, vars 2024-03-12 12:46:26 +09:00
Shunsuke Shibayama
8f68f55c91 feat: add To{Bool, Int, Float}, Round 2024-03-12 12:45:09 +09:00
Shunsuke Shibayama
0e1c0a9a13 feat: add Exception classes 2024-03-11 20:35:11 +09:00
Shunsuke Shibayama
0fb996f289 feat: add Copy trait 2024-03-03 16:22:14 +09:00
GreasySlug
37e0b7832f fix: typing error in var names 2024-02-26 23:04:26 +09:00
GreasySlug
eba80469a6 clean: add and use const str 2024-02-26 23:04:26 +09:00
Shunsuke Shibayama
f612340e80 fix: range type definition bug 2024-02-26 01:35:41 +09:00
Shunsuke Shibayama
47818e431e chore: remove clone method 2024-02-24 00:27:13 +09:00
Shunsuke Shibayama
1d1c6f4fbc fix: python script backend bug 2024-02-19 02:26:18 +09:00
Shunsuke Shibayama
48cdd2462d feat: add Array.repeat 2024-02-12 01:38:52 +09:00
Shunsuke Shibayama
8b0d504ccb Merge branch 'main' into lib.d 2024-02-11 13:46:59 +09:00
Shunsuke Shibayama
4440d0a698 chore: add TraitImpl::declared_in 2024-02-11 13:08:03 +09:00
Shunsuke Shibayama
14bf431c57 chore: resolve decl package path 2024-02-10 13:01:42 +09:00
Shunsuke Shibayama
2a26cc8a1d
Merge pull request #485 from erg-lang/torch_d
Change constructor syntax
2024-02-09 23:41:18 +09:00
Shunsuke Shibayama
e5c8f177ba feat: add HasScalarType 2024-02-09 18:37:33 +09:00
Shunsuke Shibayama
66352ddd3a feat: add const Array::{insert, remove_at, remove_all} 2024-02-09 12:47:17 +09:00
Shunsuke Shibayama
b7d9598d28 feat: add IrregularEq 2024-02-09 02:43:51 +09:00