diff options
| author | Michael Williamson <mike@zwobble.org> | 2025-02-02 19:10:44 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2025-02-02 19:53:22 +0000 |
| commit | 6ead9f417fabd55cc26a93c6d54bdde1110fccd4 (patch) | |
| tree | ec43bf0f0f97d329e63229da812ae82b7df132aa /examples/16-struct-positional-fields/src | |
| parent | cab0787d8c259b21baa376ba1ec2d95740964bd9 (diff) | |
Add runtime support for relational int operations
Diffstat (limited to 'examples/16-struct-positional-fields/src')
| -rw-r--r-- | examples/16-struct-positional-fields/src/HelloWorld.shed | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/16-struct-positional-fields/src/HelloWorld.shed b/examples/16-struct-positional-fields/src/HelloWorld.shed deleted file mode 100644 index 8880c7e2..00000000 --- a/examples/16-struct-positional-fields/src/HelloWorld.shed +++ /dev/null @@ -1,17 +0,0 @@ -pub fun main() ! Io -> Unit { - val messageParts = getMessageParts(); - print!(messageParts.part1); - print!(messageParts.part2); -} - -// We put part2 before part1 so that the order of args differs from the lexical -// field order. -struct MessageParts( - part2: String, - part1: String, -) { -} - -fun getMessageParts() -> MessageParts { - MessageParts("world\n", "hello, ") -} |
