mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 04:24:43 +00:00
Fix: variable to have VarInfo
instead of Type
This commit is contained in:
parent
119a326ebb
commit
46b87e1ca3
29 changed files with 888 additions and 816 deletions
1
compiler/erg_compiler/lib/pystd/subprocess.d.er
Normal file
1
compiler/erg_compiler/lib/pystd/subprocess.d.er
Normal file
|
@ -0,0 +1 @@
|
|||
.run!: (args: Str or [Str; _], shell := Bool) => NoneType
|
|
@ -62,6 +62,9 @@ class Bool(Nat):
|
|||
def __repr__(self) -> str:
|
||||
return self.__str__()
|
||||
|
||||
class Str(str):
|
||||
pass
|
||||
|
||||
class Range:
|
||||
def __init__(self, start, end):
|
||||
self.start = start
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
.run!: (args: Str,) => NoneType
|
Loading…
Add table
Add a link
Reference in a new issue