package-type imports
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import "../math"
|
||||
|
||||
used_here :: func() int {
|
||||
return math.value
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
not_imported_here :: func() int {
|
||||
return math.value
|
||||
}
|
||||
|
||||
main :: func() void {
|
||||
_ = used_here()
|
||||
_ = not_imported_here()
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
value :: 1
|
||||
Reference in New Issue
Block a user