Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions test/run-dfinity/data-params.as
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ let a = actor {
printInt(c);
print("\n");
};
readCounter(f : shared Nat -> ()) : () {
f(c);
};
};


Expand All @@ -70,7 +67,6 @@ a.increcord(shared {x = 17; y = 18; z = 19});
a.printCounter();
a.printLabeled("Foo1: ");
a.printLabeledOpt(?"Foo2: ");
// a.readCounter(func (n : Nat) = { printInt n; print("\n") });
a.incn(10000000000000);


Expand Down Expand Up @@ -124,9 +120,6 @@ let w32 = actor {
printInt(word32ToInt(c));
print("\n");
};
readCounter(f : shared Word32 -> ()) : () {
f(c);
};
};


Expand Down Expand Up @@ -199,9 +192,6 @@ let w16 = actor {
printInt(word16ToInt(c));
print("\n");
};
readCounter(f : shared Word16 -> ()) : () {
f(c);
};
};


Expand Down
4 changes: 2 additions & 2 deletions test/run-dfinity/ok/data-params.run-ir.ok
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data-params.as:46.19-46.27: warning, this pattern does not cover all possible values
data-params.as:122.19-122.27: warning, this pattern does not cover all possible values
data-params.as:197.19-197.27: warning, this pattern does not cover all possible values
data-params.as:118.19-118.27: warning, this pattern does not cover all possible values
data-params.as:190.19-190.27: warning, this pattern does not cover all possible values
1
3
6
Expand Down
4 changes: 2 additions & 2 deletions test/run-dfinity/ok/data-params.run-low.ok
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data-params.as:46.19-46.27: warning, this pattern does not cover all possible values
data-params.as:122.19-122.27: warning, this pattern does not cover all possible values
data-params.as:197.19-197.27: warning, this pattern does not cover all possible values
data-params.as:118.19-118.27: warning, this pattern does not cover all possible values
data-params.as:190.19-190.27: warning, this pattern does not cover all possible values
1
3
6
Expand Down
4 changes: 2 additions & 2 deletions test/run-dfinity/ok/data-params.run.ok
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data-params.as:46.19-46.27: warning, this pattern does not cover all possible values
data-params.as:122.19-122.27: warning, this pattern does not cover all possible values
data-params.as:197.19-197.27: warning, this pattern does not cover all possible values
data-params.as:118.19-118.27: warning, this pattern does not cover all possible values
data-params.as:190.19-190.27: warning, this pattern does not cover all possible values
1
3
6
Expand Down
4 changes: 2 additions & 2 deletions test/run-dfinity/ok/data-params.tc.ok
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
data-params.as:46.19-46.27: warning, this pattern does not cover all possible values
data-params.as:122.19-122.27: warning, this pattern does not cover all possible values
data-params.as:197.19-197.27: warning, this pattern does not cover all possible values
data-params.as:118.19-118.27: warning, this pattern does not cover all possible values
data-params.as:190.19-190.27: warning, this pattern does not cover all possible values
4 changes: 2 additions & 2 deletions test/run-dfinity/ok/data-params.wasm.stderr.ok
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
data-params.as:46.19-46.27: warning, this pattern does not cover all possible values
data-params.as:122.19-122.27: warning, this pattern does not cover all possible values
data-params.as:197.19-197.27: warning, this pattern does not cover all possible values
data-params.as:118.19-118.27: warning, this pattern does not cover all possible values
data-params.as:190.19-190.27: warning, this pattern does not cover all possible values