• Joined on 2022-06-19
z78078 pushed to issue-139 at M-Labs/nac3 2022-07-20 16:50:11 +08:00
510eaae73a nac3core: Add test for toplevel::composer::build_constructor_lookup
a6bd6d5567 nac3core: src/toplevel/composer.rs fix the constructor propagation bug in function build_constructor_lookup
Compare 2 commits »
z78078 pushed to issue-139 at M-Labs/nac3 2022-07-20 14:29:29 +08:00
7d68efc599 nac3core: Add field constructor_lookup(HashMap) to the TopLevelComposer and the function build_constructor_lookup to build the HashMap
z78078 created branch issue-139 in M-Labs/nac3 2022-07-20 14:26:01 +08:00
z78078 pushed to issue-139 at M-Labs/nac3 2022-07-20 14:26:01 +08:00
71308ae5d4 nac3core: Add field constructor_lookup(HashMap) to the TopLevelComposer and the function build_constructor_lookup to build the HashMap
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-11 13:40:14 +08:00
049981ab39 nac3artiq: add checking to prevent user to decorate class constructor with rpc decorator
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-08 17:45:25 +08:00
5048977a6b nac3artiq remove unecessary space
z78078 created pull request M-Labs/nac3#306 2022-07-08 17:27:57 +08:00
issue-221
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-08 17:26:43 +08:00
11af619455 nac3artiq: add class name to the error message when rpc decorator found in __init__ function
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-08 17:16:35 +08:00
cf45d76668 remove unnecesary changes
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-08 17:14:43 +08:00
5e32724c91 move the changes to nac3artiq
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-08 17:12:56 +08:00
cc99085403 move the changes to nac3artiq
74d39be59c add comment to the code block
Compare 2 commits »
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-08 14:24:08 +08:00
90d7243bf5 nac3artiq check if constructor __init__ use rpc decorator
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-08 12:59:08 +08:00
6cba19a50b nac3artiq check if constructor __init__ use rpc decorator
z78078 deleted branch 221-fix-classes-without-__init__-should-be-valid from M-Labs/nac3 2022-07-07 15:57:49 +08:00
z78078 created pull request M-Labs/nac3#305 2022-07-07 15:57:02 +08:00
return error when constructor __init__ decorate with decorator rpc
z78078 created branch issue-221 in M-Labs/nac3 2022-07-07 15:53:36 +08:00
z78078 pushed to issue-221 at M-Labs/nac3 2022-07-07 15:53:36 +08:00
df9df84879 update function analyze_single_class_methods_fields in file nac3core/src/toplevel/composer.rs to throw error "class <class-name> constructor __init__ (at <location>) must not be decorated with rpc" when the constructor __init__ is decorated with decorator rpc
z78078 pushed to 221-fix-classes-without-__init__-should-be-valid at M-Labs/nac3 2022-07-07 15:29:55 +08:00
450ecb80b7 fix indentation
z78078 pushed to 221-fix-classes-without-__init__-should-be-valid at M-Labs/nac3 2022-07-07 15:27:05 +08:00
0dcb702d3e Merge branch 'master' of git.m-labs.hk:M-Labs/nac3 into 221-fix-classes-without-__init__-should-be-valid
ebd25af38b nac3standalone: allow classes without explicit init (#221)
Compare 2 commits »
z78078 pushed to 221-fix-classes-without-__init__-should-be-valid at M-Labs/nac3 2022-07-07 15:24:55 +08:00
ddc3012701 update nac3core/src/toplevel/composer.rs function analzer_single_class_method_fields to return Error "class <class-name> constructor __init__ (at <location>) must not be decorated with rpc" when the constructor __init__ decorate with decorator rpc.