nac3/nac3core/src/toplevel
David Mak 8fd7216243 [core] toplevel/composer: Add lateinit_builtins
This is required for the new core_log and rtio_log functions, which take
a generic type as its parameter. However, in ARTIQ builtins are
initialized using one unifier and then actually used by another unifier.

lateinit_builtins workaround this issue by deferring the initialization
of functions requiring type variables until the actual unifier is ready.
2024-08-13 15:19:03 +08:00
..
snapshots core: add np.transpose and np.reshape functions 2024-07-31 13:23:07 +08:00
builtins.rs core/typecheck: Support tuple arg type in len() 2024-08-13 15:02:59 +08:00
composer.rs [core] toplevel/composer: Add lateinit_builtins 2024-08-13 15:19:03 +08:00
helper.rs core/typecheck/typedef: Add is_vararg to FuncArg, ConcreteFuncArg 2024-08-06 11:43:13 +08:00
mod.rs core: add attribute field to class definition 2024-06-25 16:06:33 +08:00
numpy.rs core: refactor to use TypeVarId and TypeVar 2024-06-13 16:59:10 +08:00
test.rs [core] toplevel/composer: Add lateinit_builtins 2024-08-13 15:19:03 +08:00
type_annotation.rs core/typecheck/typedef: Add is_vararg_ctx to TTuple 2024-08-06 11:45:54 +08:00