...
This commit is contained in:
@@ -2,9 +2,9 @@ set -e
|
||||
|
||||
pushd math
|
||||
dotnet run --project ../../compiler math.nub --type=lib
|
||||
pushd .build
|
||||
unzip out.nublib
|
||||
popd
|
||||
# pushd .build
|
||||
# unzip out.nublib
|
||||
# popd
|
||||
popd
|
||||
|
||||
pushd program
|
||||
|
||||
@@ -15,8 +15,12 @@ export enum Message {
|
||||
Move: Pos
|
||||
}
|
||||
|
||||
let x: i32
|
||||
|
||||
export func add(a: i32 b: i32): i32
|
||||
{
|
||||
let x = "test"
|
||||
|
||||
let msg: Message = enum Message::Move {
|
||||
x = 10
|
||||
y = 10
|
||||
|
||||
Reference in New Issue
Block a user