package-type imports
This commit is contained in:
@@ -0,0 +1 @@
|
||||
This non-Brolang file must not be loaded as part of the package.
|
||||
@@ -0,0 +1,5 @@
|
||||
import "../math"
|
||||
|
||||
main :: func() i32 {
|
||||
return math.sum(local_value, math.value)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
this is deliberately invalid and must not be loaded
|
||||
@@ -0,0 +1 @@
|
||||
local_value i32 :: 1
|
||||
@@ -0,0 +1,5 @@
|
||||
value i32 :: 2
|
||||
|
||||
sum :: func(a, b i32) i32 {
|
||||
return a + b
|
||||
}
|
||||
Reference in New Issue
Block a user