fix: const call bug

This commit is contained in:
Shunsuke Shibayama 2023-12-30 21:53:38 +09:00
parent 477778c9fe
commit 2ddff1512f
6 changed files with 35 additions and 13 deletions

View file

@ -1,6 +1,6 @@
.util = pyimport "util"
.machinery = pyimport "machinery"
.__import__: |S: Str|(name: {S}, globals := {Str: Obj}) -> Module S
.import_module: |S: Str|(name: {S}, package := Str or NoneType) -> Module S
.__import__: (name: Str, globals := {Str: Obj}) -> GenericModule
.import_module: (name: Str, package := Str or NoneType) -> GenericModule
.reload!: (GenericModule, ) => NoneType