Add test for importing initialized values
This commit is contained in:
parent
c422806d87
commit
70d6a18f59
@ -7,3 +7,6 @@ func main():
|
||||
>> [:imported.ImportedType]
|
||||
>> asdf()
|
||||
= ImportedType(name="Hello")
|
||||
|
||||
>> imported.needs_initializing
|
||||
= 999999999999999999
|
||||
|
@ -1,5 +1,7 @@
|
||||
struct ImportedType(name:Text)
|
||||
|
||||
needs_initializing := 999999999999999999
|
||||
|
||||
func get_value()->ImportedType:
|
||||
return ImportedType("Hello")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user