summaryrefslogtreecommitdiff
path: root/examples/13-imports/src
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-08-05 18:44:26 +0100
committerMichael Williamson <mike@zwobble.org>2026-08-05 18:44:26 +0100
commit8455bb19b7d4235e667cab9112aa276557969dcc (patch)
tree3ad5a7cf2941c4918f9e6de612a711cd8846570f /examples/13-imports/src
parent266e826749b62c46e14d9590351f8c3b2de53512 (diff)
Type check generic native types
Diffstat (limited to 'examples/13-imports/src')
-rw-r--r--examples/13-imports/src/line.hob7
-rw-r--r--examples/13-imports/src/point.hob5
2 files changed, 0 insertions, 12 deletions
diff --git a/examples/13-imports/src/line.hob b/examples/13-imports/src/line.hob
deleted file mode 100644
index 562d77f..0000000
--- a/examples/13-imports/src/line.hob
+++ /dev/null
@@ -1,7 +0,0 @@
-import {Point} from ./point;
-
-/// A straight line from one point to another.
-struct Line {
- field start: Point;
- field end: Point;
-}
diff --git a/examples/13-imports/src/point.hob b/examples/13-imports/src/point.hob
deleted file mode 100644
index 87f9953..0000000
--- a/examples/13-imports/src/point.hob
+++ /dev/null
@@ -1,5 +0,0 @@
-/// A 2D point.
-struct Point {
- field x: Int32;
- field y: Int32;
-}