package-type imports

This commit is contained in:
2026-06-10 00:08:33 +02:00
parent 087fdb45d5
commit d6e03b6f08
104 changed files with 1799 additions and 273 deletions
+1
View File
@@ -0,0 +1 @@
This non-Brolang file must not be loaded as part of the package.
+5
View File
@@ -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
+1
View File
@@ -0,0 +1 @@
local_value i32 :: 1
+5
View File
@@ -0,0 +1,5 @@
value i32 :: 2
sum :: func(a, b i32) i32 {
return a + b
}