mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-24 02:31:44 +03:00
require semicolons on return
This commit is contained in:
parent
023ae6c73d
commit
51920b5df7
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ fn test_mut_member_function_fail() {
|
||||
let program_string = r#"
|
||||
circuit Foo {
|
||||
function echo(mut self, x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
f: u32,
|
||||
|
||||
function bar() -> u32 {
|
||||
return f
|
||||
return f;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function bar() -> u32 {
|
||||
return self.f
|
||||
return self.f;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,8 +2,8 @@ function main () -> u16 {
|
||||
if false {
|
||||
const a = 1u16;
|
||||
const b = a + 1u16;
|
||||
return b
|
||||
return b;
|
||||
} else if false {
|
||||
return 0u16
|
||||
return 0u16;
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
function main(input) -> u32 {
|
||||
if input.registers.a == 0 {
|
||||
return 0u32
|
||||
return 0u32;
|
||||
} else {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
function foo() -> field {
|
||||
return myGlobal
|
||||
return myGlobal;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,3 +1,3 @@
|
||||
function main() -> (bool, bool) {
|
||||
return true
|
||||
return true;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main(input) -> [u8; 3] {
|
||||
return input.registers.r
|
||||
return input.registers.r;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main(input) -> bool {
|
||||
return input.registers.r
|
||||
return input.registers.r;
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(self, x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,11 +2,11 @@ circuit Foo {
|
||||
x: u32,
|
||||
|
||||
function add_x(self, y: u32) -> u32 {
|
||||
return self.x + y
|
||||
return self.x + y;
|
||||
}
|
||||
|
||||
function call_add_x(self, y: u32) -> u32 {
|
||||
return self.add_x(y)
|
||||
return self.add_x(y);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
foo: u32,
|
||||
|
||||
function bar() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ fn test_mut_member_function() {
|
||||
let program_string = r#"
|
||||
circuit Foo {
|
||||
function echo(mut self, x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit PedersenHash {
|
||||
parameters: [u32; 512]
|
||||
|
||||
function new(parameters: [u32; 512]) -> Self {
|
||||
return Self { parameters: parameters }
|
||||
return Self { parameters: parameters };
|
||||
}
|
||||
|
||||
function hash(self, bits: [bool; 512]) -> u32 {
|
||||
@ -11,7 +11,7 @@ circuit PedersenHash {
|
||||
const base = bits[i] ? self.parameters[i] : 0u32;
|
||||
digest += base;
|
||||
}
|
||||
return digest
|
||||
return digest;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
static function new() -> Self {
|
||||
return Self { }
|
||||
return Self { };
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
f: u32,
|
||||
|
||||
function bar(self) -> u32 {
|
||||
return self.f
|
||||
return self.f;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import core.unstable.blake2s.Blake2s;
|
||||
|
||||
function main(seed: [u8; 32], message: [u8; 32]) -> [u8; 32] {
|
||||
return Blake2s::hash(seed, message)
|
||||
return Blake2s::hash(seed, message);
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
function one() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -5,7 +5,7 @@ function iteration() -> u32 {
|
||||
a += 1;
|
||||
}
|
||||
|
||||
return a
|
||||
return a;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function tuple() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,3 +1,3 @@
|
||||
function main(input) -> (bool, bool) {
|
||||
return (input.registers.a, input.registers.b)
|
||||
return (input.registers.a, input.registers.b);
|
||||
}
|
@ -5,5 +5,5 @@ function main(
|
||||
u32,
|
||||
u32,
|
||||
) {
|
||||
return (a, b)
|
||||
return (a, b);
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
function one() -> bool {
|
||||
return true
|
||||
return true;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function one() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -3,7 +3,7 @@ function tuples() -> ((u8, u8), u32) {
|
||||
const a: (u8, u8) = (1, 2);
|
||||
const b: u32 = 3;
|
||||
|
||||
return (a, b)
|
||||
return (a, b);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -4,9 +4,9 @@ function tuple_conditional () -> (
|
||||
i64
|
||||
) {
|
||||
if true {
|
||||
return (1, 1)
|
||||
return (1, 1);
|
||||
} else {
|
||||
return (2, 2)
|
||||
return (2, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,5 +4,5 @@ circuit Point {
|
||||
}
|
||||
|
||||
function foo() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
@ -3,7 +3,7 @@ function swap(a: [u32; 2], const i: u32, const j: u32) -> [u32; 2] {
|
||||
const t = a[i];
|
||||
a[i] = a[j];
|
||||
a[j] = t;
|
||||
return a
|
||||
return a;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
function main(input) -> u32 {
|
||||
if input.registers.a == 0u32 {
|
||||
return 0u32
|
||||
return 0u32;
|
||||
} else {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
function foo() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function foo() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function foo() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,3 +1,3 @@
|
||||
function main(input) -> [u8; 3] {
|
||||
return input.registers.r
|
||||
return input.registers.r;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main(input) -> bool {
|
||||
return input.registers.r
|
||||
return input.registers.r;
|
||||
}
|
@ -6,7 +6,7 @@ circuit Foo {
|
||||
x: 1u32
|
||||
};
|
||||
|
||||
return new
|
||||
return new;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6,7 +6,7 @@ circuit Foo {
|
||||
x: 1u32
|
||||
};
|
||||
|
||||
return new
|
||||
return new;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ circuit Foo {
|
||||
|
||||
function z (mut self) -> u16 {
|
||||
self.y.0 += 1u8;
|
||||
return 1u16
|
||||
return 1u16;
|
||||
}
|
||||
}
|
||||
function main() {
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
a: u8,
|
||||
|
||||
function use_a(const self) -> u8 {
|
||||
return self.a + 1
|
||||
return self.a + 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Bar {
|
||||
b2: u32
|
||||
|
||||
function add_five(z:u32) -> u32 {
|
||||
return z+5u32
|
||||
return z+5u32;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
x: u8
|
||||
|
||||
function new(x: u8) -> Self {
|
||||
return Self { x }
|
||||
return Self { x };
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
x: u32,
|
||||
|
||||
function echo(self) -> u32 {
|
||||
return self.x
|
||||
return self.x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,11 +2,11 @@ circuit Foo {
|
||||
x: u32,
|
||||
|
||||
function add_x(self, y: u32) -> u32 {
|
||||
return self.x + y
|
||||
return self.x + y;
|
||||
}
|
||||
|
||||
function call_add_x(self, y: u32) -> u32 {
|
||||
return self.add_x(y)
|
||||
return self.add_x(y);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function echo(x: u32) -> u32 {
|
||||
return x
|
||||
return x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
foo: u32,
|
||||
|
||||
function bar() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@ circuit TestMe {
|
||||
|
||||
function test_me(mut self) -> u8 {
|
||||
self.x += 1;
|
||||
return self.x
|
||||
return self.x;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit PedersenHash {
|
||||
parameters: [u32; 512]
|
||||
|
||||
function new(parameters: [u32; 512]) -> Self {
|
||||
return Self { parameters: parameters }
|
||||
return Self { parameters: parameters };
|
||||
}
|
||||
|
||||
function hash(self, bits: [bool; 512]) -> u32 {
|
||||
@ -11,7 +11,7 @@ circuit PedersenHash {
|
||||
const base = bits[i] ? self.parameters[i] : 0u32;
|
||||
digest += base;
|
||||
}
|
||||
return digest
|
||||
return digest;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
static function new() -> Self {
|
||||
return Self { }
|
||||
return Self { };
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
f: u32,
|
||||
|
||||
function bar(self) -> u32 {
|
||||
return self.f
|
||||
return self.f;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ circuit Foo {
|
||||
f: u32,
|
||||
|
||||
function bar() -> u32 {
|
||||
return f
|
||||
return f;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
function bar() -> u32 {
|
||||
return self.f
|
||||
return self.f;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import core.unstable.blake2s.Blake2s;
|
||||
|
||||
function main(seed: [u8; 32], message: [u8; 32]) -> [u8; 32] {
|
||||
return Blake2s::hash(seed, message)
|
||||
return Blake2s::hash(seed, message);
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
function main(registers) -> field {
|
||||
return registers.r
|
||||
return registers.r;
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
function main(x: u8) -> u8 {
|
||||
if x == 2u8 {
|
||||
return 3u8
|
||||
return 3u8;
|
||||
} else {
|
||||
return 4u8
|
||||
return 4u8;
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
function one() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -5,7 +5,7 @@ function iteration() -> u32 {
|
||||
a += 1;
|
||||
}
|
||||
|
||||
return a
|
||||
return a;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function tuple() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -2,8 +2,8 @@ function main () -> u16 {
|
||||
if false {
|
||||
const a = 1u16;
|
||||
const b = a + 1u16;
|
||||
return b
|
||||
return b;
|
||||
} else if false {
|
||||
return 0u16
|
||||
return 0u16;
|
||||
}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main(input) -> (bool, bool) {
|
||||
return (input.registers.a, input.registers.b)
|
||||
return (input.registers.a, input.registers.b);
|
||||
}
|
@ -5,5 +5,5 @@ function main(
|
||||
u32,
|
||||
u32,
|
||||
) {
|
||||
return (a, b)
|
||||
return (a, b);
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
function one() -> bool {
|
||||
return true
|
||||
return true;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function one() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -3,7 +3,7 @@ function tuples() -> ((u8, u8), u32) {
|
||||
const a: (u8, u8) = (1, 2);
|
||||
const b: u32 = 3;
|
||||
|
||||
return (a, b)
|
||||
return (a, b);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -4,9 +4,9 @@ function tuple_conditional () -> (
|
||||
i64
|
||||
) {
|
||||
if true {
|
||||
return (1, 1)
|
||||
return (1, 1);
|
||||
} else {
|
||||
return (2, 2)
|
||||
return (2, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
function foo() -> field {
|
||||
return myGlobal
|
||||
return myGlobal;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -4,5 +4,5 @@ circuit Point {
|
||||
}
|
||||
|
||||
function foo() -> u32 {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main () -> [[u8; 4]; 2] {
|
||||
return [[1u8, 2u8, 3u8, 4u8], [5u8, 6u8, 7u8, 8u8]]
|
||||
return [[1u8, 2u8, 3u8, 4u8], [5u8, 6u8, 7u8, 8u8]];
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main() -> bool {
|
||||
return false
|
||||
return false;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main() -> u8 {
|
||||
return 1u8
|
||||
return 1u8;
|
||||
}
|
@ -3,7 +3,7 @@ function swap(a: [u32; 2], const i: u32, const j: u32) -> [u32; 2] {
|
||||
const t = a[i];
|
||||
a[i] = a[j];
|
||||
a[j] = t;
|
||||
return a
|
||||
return a;
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,9 +1,9 @@
|
||||
function main (x: bool) -> bool {
|
||||
if false {
|
||||
return x
|
||||
return x;
|
||||
} else if x {
|
||||
return false
|
||||
return false;
|
||||
} else {
|
||||
return false
|
||||
return false;
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
function main(input) -> u32 {
|
||||
if input.registers.a == 0u32 {
|
||||
return 0u32
|
||||
return 0u32;
|
||||
} else {
|
||||
return 1u32
|
||||
return 1u32;
|
||||
}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main() -> (bool, bool) {
|
||||
return true
|
||||
return true;
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
function main() -> bool {
|
||||
return a
|
||||
return a;
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
function foo() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function foo() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
function foo() -> (bool, bool) {
|
||||
return (true, false)
|
||||
return (true, false);
|
||||
}
|
||||
|
||||
function main() {
|
||||
|
@ -1,5 +1,5 @@
|
||||
// The 'hello-world' main function.
|
||||
function main(a: u32, b: u32) -> u32 {
|
||||
const c: u32 = a + b;
|
||||
return c
|
||||
return c;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ circuit PedersenHash {
|
||||
|
||||
// Instantiates a Pedersen hash circuit
|
||||
function new(parameters: [group; 256]) -> Self {
|
||||
return Self { parameters: parameters }
|
||||
return Self { parameters: parameters };
|
||||
}
|
||||
|
||||
function hash(self, bits: [bool; 256]) -> group {
|
||||
@ -13,13 +13,13 @@ circuit PedersenHash {
|
||||
digest += self.parameters[i];
|
||||
}
|
||||
}
|
||||
return digest
|
||||
return digest;
|
||||
}
|
||||
}
|
||||
|
||||
// The 'pedersen-hash' main function.
|
||||
function main(hash_input: [bool; 256], const parameters: [group; 256]) -> group {
|
||||
const pedersen = PedersenHash::new(parameters);
|
||||
return pedersen.hash(hash_input)
|
||||
return pedersen.hash(hash_input);
|
||||
}
|
||||
|
||||
|
@ -65,6 +65,6 @@ circuit SillySudoku {
|
||||
}
|
||||
|
||||
// Returns true if all numbers 1-9 have been seen exactly once.
|
||||
return result
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ function main(puzzle: [u8; (3, 3)], answer: [u8; (3, 3)]) -> bool {
|
||||
|
||||
console.log("The answer is {}.", result);
|
||||
|
||||
return result
|
||||
return result;
|
||||
}
|
||||
|
||||
// Tests that the `silly-sudoku` circuit outputs true on a correct answer.
|
||||
|
@ -2,7 +2,7 @@ function main() {
|
||||
const foo = Foo { x0: 0, x1: 1, x2: 2, x3: 3, x4: 4, x5: 5, x6: 6, x7: 7, x8: 8, x9: 9, x10: 10, x11: 11, x12: 12, x13: 13, x14: 14, x15: 15, x16: 16, x17: 17, x18: 18, x19: 19, x20: 20, x21: 21, x22: 22, x23: 23, x24: 24, x25: 25, x26: 26, x27: 27, x28: 28, x29: 29, x30: 30, x31: 31, x32: 32, x33: 33, x34: 34, x35: 35, x36: 36, x37: 37, x38: 38, x39: 39, x40: 40, x41: 41, x42: 42, x43: 43, x44: 44, x45: 45, x46: 46, x47: 47, x48: 48, x49: 49, x50: 50, x51: 51, x52: 52, x53: 53, x54: 54, x55: 55, x56: 56, x57: 57, x58: 58, x59: 59, x60: 60, x61: 61, x62: 62, x63: 63, x64: 64, x65: 65, x66: 66, x67: 67, x68: 68, x69: 69, x70: 70, x71: 71, x72: 72, x73: 73, x74: 74, x75: 75, x76: 76, x77: 77, x78: 78, x79: 79, x80: 80, x81: 81, x82: 82, x83: 83, x84: 84, x85: 85, x86: 86, x87: 87, x88: 88, x89: 89, x90: 90, x91: 91, x92: 92, x93: 93, x94: 94, x95: 95, x96: 96, x97: 97, x98: 98, x99: 99, x100: 100, x101: 101, x102: 102, x103: 103, x104: 104, x105: 105, x106: 106, x107: 107, x108: 108, x109: 109, x110: 110, x111: 111, x112: 112, x113: 113, x114: 114, x115: 115, x116: 116, x117: 117, x118: 118, x119: 119, x120: 120, x121: 121, x122: 122, x123: 123, x124: 124, x125: 125, x126: 126, x127: 127, x128: 128, x129: 129, x130: 130, x131: 131, x132: 132, x133: 133, x134: 134, x135: 135, x136: 136, x137: 137, x138: 138, x139: 139, x140: 140, x141: 141, x142: 142, x143: 143, x144: 144, x145: 145, x146: 146, x147: 147, x148: 148, x149: 149, x150: 150, x151: 151, x152: 152, x153: 153, x154: 154, x155: 155, x156: 156, x157: 157, x158: 158, x159: 159, x160: 160, x161: 161, x162: 162, x163: 163, x164: 164, x165: 165, x166: 166, x167: 167, x168: 168, x169: 169, x170: 170, x171: 171, x172: 172, x173: 173, x174: 174, x175: 175, x176: 176, x177: 177, x178: 178, x179: 179, x180: 180, x181: 181, x182: 182, x183: 183, x184: 184, x185: 185, x186: 186, x187: 187, x188: 188, x189: 189, x190: 190, x191: 191, x192: 192, x193: 193, x194: 194, x195: 195, x196: 196, x197: 197, x198: 198, x199: 199, x200: 200, x201: 201, x202: 202, x203: 203, x204: 204, x205: 205, x206: 206, x207: 207, x208: 208, x209: 209, x210: 210, x211: 211, x212: 212, x213: 213, x214: 214, x215: 215, x216: 216, x217: 217, x218: 218, x219: 219, x220: 220, x221: 221, x222: 222, x223: 223, x224: 224, x225: 225, x226: 226, x227: 227, x228: 228, x229: 229, x230: 230, x231: 231, x232: 232, x233: 233, x234: 234, x235: 235, x236: 236, x237: 237, x238: 238, x239: 239, x240: 240, x241: 241, x242: 242, x243: 243, x244: 244, x245: 245, x246: 246, x247: 247, x248: 248, x249: 249, x250: 250, x251: 251, x252: 252, x253: 253, x254: 254, x255: 255 };
|
||||
const bar = Foo { x0: 0, x1: 1, x2: 2, x3: 3, x4: 4, x5: 5, x6: 6, x7: 7, x8: 8, x9: 9, x10: 10, x11: 11, x12: 12, x13: 13, x14: 14, x15: 15, x16: 16, x17: 17, x18: 18, x19: 19, x20: 20, x21: 21, x22: 22, x23: 23, x24: 24, x25: 25, x26: 26, x27: 27, x28: 28, x29: 29, x30: 30, x31: 31, x32: 32, x33: 33, x34: 34, x35: 35, x36: 36, x37: 37, x38: 38, x39: 39, x40: 40, x41: 41, x42: 42, x43: 43, x44: 44, x45: 45, x46: 46, x47: 47, x48: 48, x49: 49, x50: 50, x51: 51, x52: 52, x53: 53, x54: 54, x55: 55, x56: 56, x57: 57, x58: 58, x59: 59, x60: 60, x61: 61, x62: 62, x63: 63, x64: 64, x65: 65, x66: 66, x67: 67, x68: 68, x69: 69, x70: 70, x71: 71, x72: 72, x73: 73, x74: 74, x75: 75, x76: 76, x77: 77, x78: 78, x79: 79, x80: 80, x81: 81, x82: 82, x83: 83, x84: 84, x85: 85, x86: 86, x87: 87, x88: 88, x89: 89, x90: 90, x91: 91, x92: 92, x93: 93, x94: 94, x95: 95, x96: 96, x97: 97, x98: 98, x99: 99, x100: 100, x101: 101, x102: 102, x103: 103, x104: 104, x105: 105, x106: 106, x107: 107, x108: 108, x109: 109, x110: 110, x111: 111, x112: 112, x113: 113, x114: 114, x115: 115, x116: 116, x117: 117, x118: 118, x119: 119, x120: 120, x121: 121, x122: 122, x123: 123, x124: 124, x125: 125, x126: 126, x127: 127, x128: 128, x129: 129, x130: 130, x131: 131, x132: 132, x133: 133, x134: 134, x135: 135, x136: 136, x137: 137, x138: 138, x139: 139, x140: 140, x141: 141, x142: 142, x143: 143, x144: 144, x145: 145, x146: 146, x147: 147, x148: 148, x149: 149, x150: 150, x151: 151, x152: 152, x153: 153, x154: 154, x155: 155, x156: 156, x157: 157, x158: 158, x159: 159, x160: 160, x161: 161, x162: 162, x163: 163, x164: 164, x165: 165, x166: 166, x167: 167, x168: 168, x169: 169, x170: 170, x171: 171, x172: 172, x173: 173, x174: 174, x175: 175, x176: 176, x177: 177, x178: 178, x179: 179, x180: 180, x181: 181, x182: 182, x183: 183, x184: 184, x185: 185, x186: 186, x187: 187, x188: 188, x189: 189, x190: 190, x191: 191, x192: 192, x193: 193, x194: 194, x195: 195, x196: 196, x197: 197, x198: 198, x199: 199, x200: 200, x201: 201, x202: 202, x203: 203, x204: 204, x205: 205, x206: 206, x207: 207, x208: 208, x209: 209, x210: 210, x211: 211, x212: 212, x213: 213, x214: 214, x215: 215, x216: 216, x217: 217, x218: 218, x219: 219, x220: 220, x221: 221, x222: 222, x223: 223, x224: 224, x225: 225, x226: 226, x227: 227, x228: 228, x229: 229, x230: 230, x231: 231, x232: 232, x233: 233, x234: 234, x235: 235, x236: 236, x237: 237, x238: 238, x239: 239, x240: 240, x241: 241, x242: 242, x243: 243, x244: 244, x245: 245, x246: 246, x247: 247, x248: 248, x249: 249, x250: 250, x251: 251, x252: 252, x253: 253, x254: 254, x255: 255 };
|
||||
|
||||
return foo.x0 + bar.x255
|
||||
return foo.x0 + bar.x255;
|
||||
}
|
||||
|
||||
circuit Foo {
|
||||
|
@ -2,388 +2,388 @@ function main() {
|
||||
const x: u8 = 191;
|
||||
|
||||
if x == 0 {
|
||||
return x
|
||||
return x;
|
||||
} else if x == 1 {
|
||||
return x - 1
|
||||
return x - 1;
|
||||
} else if x == 2 {
|
||||
return x - 2
|
||||
return x - 2;
|
||||
} else if x == 3 {
|
||||
return x - 3
|
||||
return x - 3;
|
||||
} else if x == 4 {
|
||||
return x - 4
|
||||
return x - 4;
|
||||
} else if x == 5 {
|
||||
return x - 5
|
||||
return x - 5;
|
||||
} else if x == 6 {
|
||||
return x - 6
|
||||
return x - 6;
|
||||
} else if x == 7 {
|
||||
return x - 7
|
||||
return x - 7;
|
||||
} else if x == 8 {
|
||||
return x - 8
|
||||
return x - 8;
|
||||
} else if x == 9 {
|
||||
return x - 9
|
||||
return x - 9;
|
||||
} else if x == 10 {
|
||||
return x - 10
|
||||
return x - 10;
|
||||
} else if x == 11 {
|
||||
return x - 11
|
||||
return x - 11;
|
||||
} else if x == 12 {
|
||||
return x - 12
|
||||
return x - 12;
|
||||
} else if x == 13 {
|
||||
return x - 13
|
||||
return x - 13;
|
||||
} else if x == 14 {
|
||||
return x - 14
|
||||
return x - 14;
|
||||
} else if x == 15 {
|
||||
return x - 15
|
||||
return x - 15;
|
||||
} else if x == 16 {
|
||||
return x - 16
|
||||
return x - 16;
|
||||
} else if x == 17 {
|
||||
return x - 17
|
||||
return x - 17;
|
||||
} else if x == 18 {
|
||||
return x - 18
|
||||
return x - 18;
|
||||
} else if x == 19 {
|
||||
return x - 19
|
||||
return x - 19;
|
||||
} else if x == 20 {
|
||||
return x - 20
|
||||
return x - 20;
|
||||
} else if x == 21 {
|
||||
return x - 21
|
||||
return x - 21;
|
||||
} else if x == 22 {
|
||||
return x - 22
|
||||
return x - 22;
|
||||
} else if x == 23 {
|
||||
return x - 23
|
||||
return x - 23;
|
||||
} else if x == 24 {
|
||||
return x - 24
|
||||
return x - 24;
|
||||
} else if x == 25 {
|
||||
return x - 25
|
||||
return x - 25;
|
||||
} else if x == 26 {
|
||||
return x - 26
|
||||
return x - 26;
|
||||
} else if x == 27 {
|
||||
return x - 27
|
||||
return x - 27;
|
||||
} else if x == 28 {
|
||||
return x - 28
|
||||
return x - 28;
|
||||
} else if x == 29 {
|
||||
return x - 29
|
||||
return x - 29;
|
||||
} else if x == 30 {
|
||||
return x - 30
|
||||
return x - 30;
|
||||
} else if x == 31 {
|
||||
return x - 31
|
||||
return x - 31;
|
||||
} else if x == 32 {
|
||||
return x - 32
|
||||
return x - 32;
|
||||
} else if x == 33 {
|
||||
return x - 33
|
||||
return x - 33;
|
||||
} else if x == 34 {
|
||||
return x - 34
|
||||
return x - 34;
|
||||
} else if x == 35 {
|
||||
return x - 35
|
||||
return x - 35;
|
||||
} else if x == 36 {
|
||||
return x - 36
|
||||
return x - 36;
|
||||
} else if x == 37 {
|
||||
return x - 37
|
||||
return x - 37;
|
||||
} else if x == 38 {
|
||||
return x - 38
|
||||
return x - 38;
|
||||
} else if x == 39 {
|
||||
return x - 39
|
||||
return x - 39;
|
||||
} else if x == 40 {
|
||||
return x - 40
|
||||
return x - 40;
|
||||
} else if x == 41 {
|
||||
return x - 41
|
||||
return x - 41;
|
||||
} else if x == 42 {
|
||||
return x - 42
|
||||
return x - 42;
|
||||
} else if x == 43 {
|
||||
return x - 43
|
||||
return x - 43;
|
||||
} else if x == 44 {
|
||||
return x - 44
|
||||
return x - 44;
|
||||
} else if x == 45 {
|
||||
return x - 45
|
||||
return x - 45;
|
||||
} else if x == 46 {
|
||||
return x - 46
|
||||
return x - 46;
|
||||
} else if x == 47 {
|
||||
return x - 47
|
||||
return x - 47;
|
||||
} else if x == 48 {
|
||||
return x - 48
|
||||
return x - 48;
|
||||
} else if x == 49 {
|
||||
return x - 49
|
||||
return x - 49;
|
||||
} else if x == 50 {
|
||||
return x - 50
|
||||
return x - 50;
|
||||
} else if x == 51 {
|
||||
return x - 51
|
||||
return x - 51;
|
||||
} else if x == 52 {
|
||||
return x - 52
|
||||
return x - 52;
|
||||
} else if x == 53 {
|
||||
return x - 53
|
||||
return x - 53;
|
||||
} else if x == 54 {
|
||||
return x - 54
|
||||
return x - 54;
|
||||
} else if x == 55 {
|
||||
return x - 55
|
||||
return x - 55;
|
||||
} else if x == 56 {
|
||||
return x - 56
|
||||
return x - 56;
|
||||
} else if x == 57 {
|
||||
return x - 57
|
||||
return x - 57;
|
||||
} else if x == 58 {
|
||||
return x - 58
|
||||
return x - 58;
|
||||
} else if x == 59 {
|
||||
return x - 59
|
||||
return x - 59;
|
||||
} else if x == 60 {
|
||||
return x - 60
|
||||
return x - 60;
|
||||
} else if x == 61 {
|
||||
return x - 61
|
||||
return x - 61;
|
||||
} else if x == 62 {
|
||||
return x - 62
|
||||
return x - 62;
|
||||
} else if x == 63 {
|
||||
return x - 63
|
||||
return x - 63;
|
||||
} else if x == 64 {
|
||||
return x - 64
|
||||
return x - 64;
|
||||
} else if x == 65 {
|
||||
return x - 65
|
||||
return x - 65;
|
||||
} else if x == 66 {
|
||||
return x - 66
|
||||
return x - 66;
|
||||
} else if x == 67 {
|
||||
return x - 67
|
||||
return x - 67;
|
||||
} else if x == 68 {
|
||||
return x - 68
|
||||
return x - 68;
|
||||
} else if x == 69 {
|
||||
return x - 69
|
||||
return x - 69;
|
||||
} else if x == 70 {
|
||||
return x - 70
|
||||
return x - 70;
|
||||
} else if x == 71 {
|
||||
return x - 71
|
||||
return x - 71;
|
||||
} else if x == 72 {
|
||||
return x - 72
|
||||
return x - 72;
|
||||
} else if x == 73 {
|
||||
return x - 73
|
||||
return x - 73;
|
||||
} else if x == 74 {
|
||||
return x - 74
|
||||
return x - 74;
|
||||
} else if x == 75 {
|
||||
return x - 75
|
||||
return x - 75;
|
||||
} else if x == 76 {
|
||||
return x - 76
|
||||
return x - 76;
|
||||
} else if x == 77 {
|
||||
return x - 77
|
||||
return x - 77;
|
||||
} else if x == 78 {
|
||||
return x - 78
|
||||
return x - 78;
|
||||
} else if x == 79 {
|
||||
return x - 79
|
||||
return x - 79;
|
||||
} else if x == 80 {
|
||||
return x - 80
|
||||
return x - 80;
|
||||
} else if x == 81 {
|
||||
return x - 81
|
||||
return x - 81;
|
||||
} else if x == 82 {
|
||||
return x - 82
|
||||
return x - 82;
|
||||
} else if x == 83 {
|
||||
return x - 83
|
||||
return x - 83;
|
||||
} else if x == 84 {
|
||||
return x - 84
|
||||
return x - 84;
|
||||
} else if x == 85 {
|
||||
return x - 85
|
||||
return x - 85;
|
||||
} else if x == 86 {
|
||||
return x - 86
|
||||
return x - 86;
|
||||
} else if x == 87 {
|
||||
return x - 87
|
||||
return x - 87;
|
||||
} else if x == 88 {
|
||||
return x - 88
|
||||
return x - 88;
|
||||
} else if x == 89 {
|
||||
return x - 89
|
||||
return x - 89;
|
||||
} else if x == 90 {
|
||||
return x - 90
|
||||
return x - 90;
|
||||
} else if x == 91 {
|
||||
return x - 91
|
||||
return x - 91;
|
||||
} else if x == 92 {
|
||||
return x - 92
|
||||
return x - 92;
|
||||
} else if x == 93 {
|
||||
return x - 93
|
||||
return x - 93;
|
||||
} else if x == 94 {
|
||||
return x - 94
|
||||
return x - 94;
|
||||
} else if x == 95 {
|
||||
return x - 95
|
||||
return x - 95;
|
||||
} else if x == 96 {
|
||||
return x - 96
|
||||
return x - 96;
|
||||
} else if x == 97 {
|
||||
return x - 97
|
||||
return x - 97;
|
||||
} else if x == 98 {
|
||||
return x - 98
|
||||
return x - 98;
|
||||
} else if x == 99 {
|
||||
return x - 99
|
||||
return x - 99;
|
||||
} else if x == 100 {
|
||||
return x - 100
|
||||
return x - 100;
|
||||
} else if x == 101 {
|
||||
return x - 101
|
||||
return x - 101;
|
||||
} else if x == 102 {
|
||||
return x - 102
|
||||
return x - 102;
|
||||
} else if x == 103 {
|
||||
return x - 103
|
||||
return x - 103;
|
||||
} else if x == 104 {
|
||||
return x - 104
|
||||
return x - 104;
|
||||
} else if x == 105 {
|
||||
return x - 105
|
||||
return x - 105;
|
||||
} else if x == 106 {
|
||||
return x - 106
|
||||
return x - 106;
|
||||
} else if x == 107 {
|
||||
return x - 107
|
||||
return x - 107;
|
||||
} else if x == 108 {
|
||||
return x - 108
|
||||
return x - 108;
|
||||
} else if x == 109 {
|
||||
return x - 109
|
||||
return x - 109;
|
||||
} else if x == 110 {
|
||||
return x - 110
|
||||
return x - 110;
|
||||
} else if x == 111 {
|
||||
return x - 111
|
||||
return x - 111;
|
||||
} else if x == 112 {
|
||||
return x - 112
|
||||
return x - 112;
|
||||
} else if x == 113 {
|
||||
return x - 113
|
||||
return x - 113;
|
||||
} else if x == 114 {
|
||||
return x - 114
|
||||
return x - 114;
|
||||
} else if x == 115 {
|
||||
return x - 115
|
||||
return x - 115;
|
||||
} else if x == 116 {
|
||||
return x - 116
|
||||
return x - 116;
|
||||
} else if x == 117 {
|
||||
return x - 117
|
||||
return x - 117;
|
||||
} else if x == 118 {
|
||||
return x - 118
|
||||
return x - 118;
|
||||
} else if x == 119 {
|
||||
return x - 119
|
||||
return x - 119;
|
||||
} else if x == 120 {
|
||||
return x - 120
|
||||
return x - 120;
|
||||
} else if x == 121 {
|
||||
return x - 121
|
||||
return x - 121;
|
||||
} else if x == 122 {
|
||||
return x - 122
|
||||
return x - 122;
|
||||
} else if x == 123 {
|
||||
return x - 123
|
||||
return x - 123;
|
||||
} else if x == 124 {
|
||||
return x - 124
|
||||
return x - 124;
|
||||
} else if x == 125 {
|
||||
return x - 125
|
||||
return x - 125;
|
||||
} else if x == 126 {
|
||||
return x - 126
|
||||
return x - 126;
|
||||
} else if x == 127 {
|
||||
return x - 127
|
||||
return x - 127;
|
||||
} else if x == 128 {
|
||||
return x - 128
|
||||
return x - 128;
|
||||
} else if x == 129 {
|
||||
return x - 129
|
||||
return x - 129;
|
||||
} else if x == 130 {
|
||||
return x - 130
|
||||
return x - 130;
|
||||
} else if x == 131 {
|
||||
return x - 131
|
||||
return x - 131;
|
||||
} else if x == 132 {
|
||||
return x - 132
|
||||
return x - 132;
|
||||
} else if x == 133 {
|
||||
return x - 133
|
||||
return x - 133;
|
||||
} else if x == 134 {
|
||||
return x - 134
|
||||
return x - 134;
|
||||
} else if x == 135 {
|
||||
return x - 135
|
||||
return x - 135;
|
||||
} else if x == 136 {
|
||||
return x - 136
|
||||
return x - 136;
|
||||
} else if x == 137 {
|
||||
return x - 137
|
||||
return x - 137;
|
||||
} else if x == 138 {
|
||||
return x - 138
|
||||
return x - 138;
|
||||
} else if x == 139 {
|
||||
return x - 139
|
||||
return x - 139;
|
||||
} else if x == 140 {
|
||||
return x - 140
|
||||
return x - 140;
|
||||
} else if x == 141 {
|
||||
return x - 141
|
||||
return x - 141;
|
||||
} else if x == 142 {
|
||||
return x - 142
|
||||
return x - 142;
|
||||
} else if x == 143 {
|
||||
return x - 143
|
||||
return x - 143;
|
||||
} else if x == 144 {
|
||||
return x - 144
|
||||
return x - 144;
|
||||
} else if x == 145 {
|
||||
return x - 145
|
||||
return x - 145;
|
||||
} else if x == 146 {
|
||||
return x - 146
|
||||
return x - 146;
|
||||
} else if x == 147 {
|
||||
return x - 147
|
||||
return x - 147;
|
||||
} else if x == 148 {
|
||||
return x - 148
|
||||
return x - 148;
|
||||
} else if x == 149 {
|
||||
return x - 149
|
||||
return x - 149;
|
||||
} else if x == 150 {
|
||||
return x - 150
|
||||
return x - 150;
|
||||
} else if x == 151 {
|
||||
return x - 151
|
||||
return x - 151;
|
||||
} else if x == 152 {
|
||||
return x - 152
|
||||
return x - 152;
|
||||
} else if x == 153 {
|
||||
return x - 153
|
||||
return x - 153;
|
||||
} else if x == 154 {
|
||||
return x - 154
|
||||
return x - 154;
|
||||
} else if x == 155 {
|
||||
return x - 155
|
||||
return x - 155;
|
||||
} else if x == 156 {
|
||||
return x - 156
|
||||
return x - 156;
|
||||
} else if x == 157 {
|
||||
return x - 157
|
||||
return x - 157;
|
||||
} else if x == 158 {
|
||||
return x - 158
|
||||
return x - 158;
|
||||
} else if x == 159 {
|
||||
return x - 159
|
||||
return x - 159;
|
||||
} else if x == 160 {
|
||||
return x - 160
|
||||
return x - 160;
|
||||
} else if x == 161 {
|
||||
return x - 161
|
||||
return x - 161;
|
||||
} else if x == 162 {
|
||||
return x - 162
|
||||
return x - 162;
|
||||
} else if x == 163 {
|
||||
return x - 163
|
||||
return x - 163;
|
||||
} else if x == 164 {
|
||||
return x - 164
|
||||
return x - 164;
|
||||
} else if x == 165 {
|
||||
return x - 165
|
||||
return x - 165;
|
||||
} else if x == 166 {
|
||||
return x - 166
|
||||
return x - 166;
|
||||
} else if x == 167 {
|
||||
return x - 167
|
||||
return x - 167;
|
||||
} else if x == 168 {
|
||||
return x - 168
|
||||
return x - 168;
|
||||
} else if x == 169 {
|
||||
return x - 169
|
||||
return x - 169;
|
||||
} else if x == 170 {
|
||||
return x - 170
|
||||
return x - 170;
|
||||
} else if x == 171 {
|
||||
return x - 171
|
||||
return x - 171;
|
||||
} else if x == 172 {
|
||||
return x - 172
|
||||
return x - 172;
|
||||
} else if x == 173 {
|
||||
return x - 173
|
||||
return x - 173;
|
||||
} else if x == 174 {
|
||||
return x - 174
|
||||
return x - 174;
|
||||
} else if x == 175 {
|
||||
return x - 175
|
||||
return x - 175;
|
||||
} else if x == 176 {
|
||||
return x - 176
|
||||
return x - 176;
|
||||
} else if x == 177 {
|
||||
return x - 177
|
||||
return x - 177;
|
||||
} else if x == 178 {
|
||||
return x - 178
|
||||
return x - 178;
|
||||
} else if x == 179 {
|
||||
return x - 179
|
||||
return x - 179;
|
||||
} else if x == 180 {
|
||||
return x - 180
|
||||
return x - 180;
|
||||
} else if x == 181 {
|
||||
return x - 181
|
||||
return x - 181;
|
||||
} else if x == 182 {
|
||||
return x - 182
|
||||
return x - 182;
|
||||
} else if x == 183 {
|
||||
return x - 183
|
||||
return x - 183;
|
||||
} else if x == 184 {
|
||||
return x - 184
|
||||
return x - 184;
|
||||
} else if x == 185 {
|
||||
return x - 185
|
||||
return x - 185;
|
||||
} else if x == 186 {
|
||||
return x - 186
|
||||
return x - 186;
|
||||
} else if x == 187 {
|
||||
return x - 187
|
||||
return x - 187;
|
||||
} else if x == 188 {
|
||||
return x - 188
|
||||
return x - 188;
|
||||
} else if x == 189 {
|
||||
return x - 189
|
||||
return x - 189;
|
||||
} else if x == 190 {
|
||||
return x - 190
|
||||
return x - 190;
|
||||
} else if x == 191 {
|
||||
return x - 191
|
||||
return x - 191;
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
function main() {
|
||||
const x: u8 = 255;
|
||||
|
||||
return x == 0 ? x : (x == 1 ? x : (x == 2 ? x : (x == 3 ? x : (x == 4 ? x : (x == 5 ? x : (x == 6 ? x : (x == 7 ? x : (x == 8 ? x : (x == 9 ? x : (x == 10 ? x : (x == 11 ? x : (x == 12 ? x : (x == 13 ? x : (x == 14 ? x : (x == 15 ? x : (x == 16 ? x : (x == 17 ? x : (x == 18 ? x : (x == 19 ? x : (x == 20 ? x : (x == 21 ? x : (x == 22 ? x : (x == 23 ? x : (x == 24 ? x : (x == 25 ? x : (x == 26 ? x : (x == 27 ? x : (x == 28 ? x : (x == 29 ? x : (x == 30 ? x : (x == 31 ? x : (x == 32 ? x : (x == 33 ? x : (x == 34 ? x : (x == 35 ? x : (x == 36 ? x : (x == 37 ? x : (x == 38 ? x : (x == 39 ? x : (x == 40 ? x : (x == 41 ? x : (x == 42 ? x : (x == 43 ? x : (x == 44 ? x : (x == 45 ? x : (x == 46 ? x : (x == 47 ? x : (x == 48 ? x : (x == 49 ? x : (x == 50 ? x : (x == 51 ? x : (x == 52 ? x : (x == 53 ? x : (x == 54 ? x : (x == 55 ? x : (x == 56 ? x : (x == 57 ? x : (x == 58 ? x : (x == 59 ? x : (x == 60 ? x : (x == 61 ? x : (x == 62 ? x : (x == 63 ? x : (x == 64 ? x : (x == 65 ? x : (x == 66 ? x : (x == 67 ? x : (x == 68 ? x : (x == 69 ? x : (x == 70 ? x : (x == 71 ? x : (x == 72 ? x : (x == 73 ? x : (x == 74 ? x : (x == 75 ? x : (x == 76 ? x : (x == 77 ? x : (x == 78 ? x : (x == 79 ? x : (x == 80 ? x : (x == 81 ? x : (x == 82 ? x : (x == 83 ? x : (x == 84 ? x : (x == 85 ? x : (x == 86 ? x : (x == 87 ? x : (x == 88 ? x : (x == 89 ? x : (x == 90 ? x : (x == 91 ? x : (x == 92 ? x : (x == 93 ? x : (x == 94 ? x : (x == 95 ? x : (x == 96 ? x : (x == 97 ? x : (x == 98 ? x : (x == 99 ? x : (x == 100 ? x : (x == 101 ? x : (x == 102 ? x : (x == 103 ? x : (x == 104 ? x : (x == 105 ? x : (x == 106 ? x : (x == 107 ? x : (x == 108 ? x : (x == 109 ? x : (x == 110 ? x : (x == 111 ? x : (x == 112 ? x : (x == 113 ? x : (x == 114 ? x : (x == 115 ? x : (x == 116 ? x : (x == 117 ? x : (x == 118 ? x : (x == 119 ? x : (x == 120 ? x : (x == 121 ? x : (x == 122 ? x : (x == 123 ? x : (x == 124 ? x : (x == 125 ? x : (x == 126 ? x : (x == 127 ? x : (x == 128 ? x : (x == 129 ? x : (x == 130 ? x : (x == 131 ? x : (x == 132 ? x : (x == 133 ? x : (x == 134 ? x : (x == 135 ? x : (x == 136 ? x : (x == 137 ? x : (x == 138 ? x : (x == 139 ? x : (x == 140 ? x : (x == 141 ? x : (x == 142 ? x : (x == 143 ? x : (x == 144 ? x : (x == 145 ? x : (x == 146 ? x : (x == 147 ? x : (x == 148 ? x : (x == 149 ? x : (x == 150 ? x : (x == 151 ? x : (x == 152 ? x : (x == 153 ? x : (x == 154 ? x : (x == 155 ? x : (x == 156 ? x : (x == 157 ? x : (x == 158 ? x : (x == 159 ? x : (x == 160 ? x : (x == 161 ? x : (x == 162 ? x : (x == 163 ? x : (x == 164 ? x : (x == 165 ? x : (x == 166 ? x : (x == 167 ? x : (x == 168 ? x : (x == 169 ? x : (x == 170 ? x : (x == 171 ? x : (x == 172 ? x : (x == 173 ? x : (x == 174 ? x : (x == 175 ? x : (x == 176 ? x : (x == 177 ? x : (x == 178 ? x : (x == 179 ? x : (x == 180 ? x : (x == 181 ? x : (x == 182 ? x : (x == 183 ? x : (x == 184 ? x : (x == 185 ? x : (x == 186 ? x : (x == 187 ? x : (x == 188 ? x : (x == 189 ? x : (x == 190 ? x : (x == 191 ? x : (x == 192 ? x : (x == 193 ? x : (x == 194 ? x : (x == 195 ? x : (x == 196 ? x : (x == 197 ? x : (x == 198 ? x : (x == 199 ? x : (x == 200 ? x : (x == 201 ? x : (x == 202 ? x : (x == 203 ? x : (x == 204 ? x : (x == 205 ? x : (x == 206 ? x : (x == 207 ? x : (x == 208 ? x : (x == 209 ? x : (x == 210 ? x : (x == 211 ? x : (x == 212 ? x : (x == 213 ? x : (x == 214 ? x : (x == 215 ? x : (x == 216 ? x : (x == 217 ? x : (x == 218 ? x : (x == 219 ? x : (x == 220 ? x : (x == 221 ? x : (x == 222 ? x : (x == 223 ? x : (x == 224 ? x : (x == 225 ? x : (x == 226 ? x : (x == 227 ? x : (x == 228 ? x : (x == 229 ? x : (x == 230 ? x : (x == 231 ? x : (x == 232 ? x : (x == 233 ? x : (x == 234 ? x : (x == 235 ? x : (x == 236 ? x : (x == 237 ? x : (x == 238 ? x : (x == 239 ? x : (x == 240 ? x : (x == 241 ? x : (x == 242 ? x : (x == 243 ? x : (x == 244 ? x : (x == 245 ? x : (x == 246 ? x : (x == 247 ? x : (x == 248 ? x : (x == 249 ? x : (x == 250 ? x : (x == 251 ? x : (x == 252 ? x : (x == 253 ? x : (x == 254 ? x : (x == 255 ? x : 0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
||||
return x == 0 ? x : (x == 1 ? x : (x == 2 ? x : (x == 3 ? x : (x == 4 ? x : (x == 5 ? x : (x == 6 ? x : (x == 7 ? x : (x == 8 ? x : (x == 9 ? x : (x == 10 ? x : (x == 11 ? x : (x == 12 ? x : (x == 13 ? x : (x == 14 ? x : (x == 15 ? x : (x == 16 ? x : (x == 17 ? x : (x == 18 ? x : (x == 19 ? x : (x == 20 ? x : (x == 21 ? x : (x == 22 ? x : (x == 23 ? x : (x == 24 ? x : (x == 25 ? x : (x == 26 ? x : (x == 27 ? x : (x == 28 ? x : (x == 29 ? x : (x == 30 ? x : (x == 31 ? x : (x == 32 ? x : (x == 33 ? x : (x == 34 ? x : (x == 35 ? x : (x == 36 ? x : (x == 37 ? x : (x == 38 ? x : (x == 39 ? x : (x == 40 ? x : (x == 41 ? x : (x == 42 ? x : (x == 43 ? x : (x == 44 ? x : (x == 45 ? x : (x == 46 ? x : (x == 47 ? x : (x == 48 ? x : (x == 49 ? x : (x == 50 ? x : (x == 51 ? x : (x == 52 ? x : (x == 53 ? x : (x == 54 ? x : (x == 55 ? x : (x == 56 ? x : (x == 57 ? x : (x == 58 ? x : (x == 59 ? x : (x == 60 ? x : (x == 61 ? x : (x == 62 ? x : (x == 63 ? x : (x == 64 ? x : (x == 65 ? x : (x == 66 ? x : (x == 67 ? x : (x == 68 ? x : (x == 69 ? x : (x == 70 ? x : (x == 71 ? x : (x == 72 ? x : (x == 73 ? x : (x == 74 ? x : (x == 75 ? x : (x == 76 ? x : (x == 77 ? x : (x == 78 ? x : (x == 79 ? x : (x == 80 ? x : (x == 81 ? x : (x == 82 ? x : (x == 83 ? x : (x == 84 ? x : (x == 85 ? x : (x == 86 ? x : (x == 87 ? x : (x == 88 ? x : (x == 89 ? x : (x == 90 ? x : (x == 91 ? x : (x == 92 ? x : (x == 93 ? x : (x == 94 ? x : (x == 95 ? x : (x == 96 ? x : (x == 97 ? x : (x == 98 ? x : (x == 99 ? x : (x == 100 ? x : (x == 101 ? x : (x == 102 ? x : (x == 103 ? x : (x == 104 ? x : (x == 105 ? x : (x == 106 ? x : (x == 107 ? x : (x == 108 ? x : (x == 109 ? x : (x == 110 ? x : (x == 111 ? x : (x == 112 ? x : (x == 113 ? x : (x == 114 ? x : (x == 115 ? x : (x == 116 ? x : (x == 117 ? x : (x == 118 ? x : (x == 119 ? x : (x == 120 ? x : (x == 121 ? x : (x == 122 ? x : (x == 123 ? x : (x == 124 ? x : (x == 125 ? x : (x == 126 ? x : (x == 127 ? x : (x == 128 ? x : (x == 129 ? x : (x == 130 ? x : (x == 131 ? x : (x == 132 ? x : (x == 133 ? x : (x == 134 ? x : (x == 135 ? x : (x == 136 ? x : (x == 137 ? x : (x == 138 ? x : (x == 139 ? x : (x == 140 ? x : (x == 141 ? x : (x == 142 ? x : (x == 143 ? x : (x == 144 ? x : (x == 145 ? x : (x == 146 ? x : (x == 147 ? x : (x == 148 ? x : (x == 149 ? x : (x == 150 ? x : (x == 151 ? x : (x == 152 ? x : (x == 153 ? x : (x == 154 ? x : (x == 155 ? x : (x == 156 ? x : (x == 157 ? x : (x == 158 ? x : (x == 159 ? x : (x == 160 ? x : (x == 161 ? x : (x == 162 ? x : (x == 163 ? x : (x == 164 ? x : (x == 165 ? x : (x == 166 ? x : (x == 167 ? x : (x == 168 ? x : (x == 169 ? x : (x == 170 ? x : (x == 171 ? x : (x == 172 ? x : (x == 173 ? x : (x == 174 ? x : (x == 175 ? x : (x == 176 ? x : (x == 177 ? x : (x == 178 ? x : (x == 179 ? x : (x == 180 ? x : (x == 181 ? x : (x == 182 ? x : (x == 183 ? x : (x == 184 ? x : (x == 185 ? x : (x == 186 ? x : (x == 187 ? x : (x == 188 ? x : (x == 189 ? x : (x == 190 ? x : (x == 191 ? x : (x == 192 ? x : (x == 193 ? x : (x == 194 ? x : (x == 195 ? x : (x == 196 ? x : (x == 197 ? x : (x == 198 ? x : (x == 199 ? x : (x == 200 ? x : (x == 201 ? x : (x == 202 ? x : (x == 203 ? x : (x == 204 ? x : (x == 205 ? x : (x == 206 ? x : (x == 207 ? x : (x == 208 ? x : (x == 209 ? x : (x == 210 ? x : (x == 211 ? x : (x == 212 ? x : (x == 213 ? x : (x == 214 ? x : (x == 215 ? x : (x == 216 ? x : (x == 217 ? x : (x == 218 ? x : (x == 219 ? x : (x == 220 ? x : (x == 221 ? x : (x == 222 ? x : (x == 223 ? x : (x == 224 ? x : (x == 225 ? x : (x == 226 ? x : (x == 227 ? x : (x == 228 ? x : (x == 229 ? x : (x == 230 ? x : (x == 231 ? x : (x == 232 ? x : (x == 233 ? x : (x == 234 ? x : (x == 235 ? x : (x == 236 ? x : (x == 237 ? x : (x == 238 ? x : (x == 239 ? x : (x == 240 ? x : (x == 241 ? x : (x == 242 ? x : (x == 243 ? x : (x == 244 ? x : (x == 245 ? x : (x == 246 ? x : (x == 247 ? x : (x == 248 ? x : (x == 249 ? x : (x == 250 ? x : (x == 251 ? x : (x == 252 ? x : (x == 253 ? x : (x == 254 ? x : (x == 255 ? x : 0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));
|
||||
}
|
@ -53,5 +53,5 @@ function main() {
|
||||
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 31]
|
||||
];
|
||||
|
||||
return arr1[31][31] + arr2[15][31]
|
||||
return arr1[31][31] + arr2[15][31];
|
||||
}
|
||||
|
@ -5,5 +5,5 @@ function main() {
|
||||
const d = 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1;
|
||||
const e = 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1;
|
||||
|
||||
return a + b + c + d + e
|
||||
return a + b + c + d + e;
|
||||
}
|
||||
|
@ -384,5 +384,5 @@ function main() {
|
||||
const x382: u8 = x381;
|
||||
const x383: u8 = x382;
|
||||
|
||||
return x383
|
||||
return x383;
|
||||
}
|
||||
|
@ -1,196 +1,196 @@
|
||||
function main() {
|
||||
return x191(0u32)
|
||||
return x191(0u32);
|
||||
}
|
||||
|
||||
function x0(val: u8) -> u8 { return val }
|
||||
function x1(val: u8) -> u8 { return x0(val) }
|
||||
function x2(val: u8) -> u8 { return x1(val) }
|
||||
function x3(val: u8) -> u8 { return x2(val) }
|
||||
function x4(val: u8) -> u8 { return x3(val) }
|
||||
function x5(val: u8) -> u8 { return x4(val) }
|
||||
function x6(val: u8) -> u8 { return x5(val) }
|
||||
function x7(val: u8) -> u8 { return x6(val) }
|
||||
function x8(val: u8) -> u8 { return x7(val) }
|
||||
function x9(val: u8) -> u8 { return x8(val) }
|
||||
function x10(val: u8) -> u8 { return x9(val) }
|
||||
function x11(val: u8) -> u8 { return x10(val) }
|
||||
function x12(val: u8) -> u8 { return x11(val) }
|
||||
function x13(val: u8) -> u8 { return x12(val) }
|
||||
function x14(val: u8) -> u8 { return x13(val) }
|
||||
function x15(val: u8) -> u8 { return x14(val) }
|
||||
function x16(val: u8) -> u8 { return x15(val) }
|
||||
function x17(val: u8) -> u8 { return x16(val) }
|
||||
function x18(val: u8) -> u8 { return x17(val) }
|
||||
function x19(val: u8) -> u8 { return x18(val) }
|
||||
function x20(val: u8) -> u8 { return x19(val) }
|
||||
function x21(val: u8) -> u8 { return x20(val) }
|
||||
function x22(val: u8) -> u8 { return x21(val) }
|
||||
function x23(val: u8) -> u8 { return x22(val) }
|
||||
function x24(val: u8) -> u8 { return x23(val) }
|
||||
function x25(val: u8) -> u8 { return x24(val) }
|
||||
function x26(val: u8) -> u8 { return x25(val) }
|
||||
function x27(val: u8) -> u8 { return x26(val) }
|
||||
function x28(val: u8) -> u8 { return x27(val) }
|
||||
function x29(val: u8) -> u8 { return x28(val) }
|
||||
function x30(val: u8) -> u8 { return x29(val) }
|
||||
function x31(val: u8) -> u8 { return x30(val) }
|
||||
function x32(val: u8) -> u8 { return x31(val) }
|
||||
function x33(val: u8) -> u8 { return x32(val) }
|
||||
function x34(val: u8) -> u8 { return x33(val) }
|
||||
function x35(val: u8) -> u8 { return x34(val) }
|
||||
function x36(val: u8) -> u8 { return x35(val) }
|
||||
function x37(val: u8) -> u8 { return x36(val) }
|
||||
function x38(val: u8) -> u8 { return x37(val) }
|
||||
function x39(val: u8) -> u8 { return x38(val) }
|
||||
function x40(val: u8) -> u8 { return x39(val) }
|
||||
function x41(val: u8) -> u8 { return x40(val) }
|
||||
function x42(val: u8) -> u8 { return x41(val) }
|
||||
function x43(val: u8) -> u8 { return x42(val) }
|
||||
function x44(val: u8) -> u8 { return x43(val) }
|
||||
function x45(val: u8) -> u8 { return x44(val) }
|
||||
function x46(val: u8) -> u8 { return x45(val) }
|
||||
function x47(val: u8) -> u8 { return x46(val) }
|
||||
function x48(val: u8) -> u8 { return x47(val) }
|
||||
function x49(val: u8) -> u8 { return x48(val) }
|
||||
function x50(val: u8) -> u8 { return x49(val) }
|
||||
function x51(val: u8) -> u8 { return x50(val) }
|
||||
function x52(val: u8) -> u8 { return x51(val) }
|
||||
function x53(val: u8) -> u8 { return x52(val) }
|
||||
function x54(val: u8) -> u8 { return x53(val) }
|
||||
function x55(val: u8) -> u8 { return x54(val) }
|
||||
function x56(val: u8) -> u8 { return x55(val) }
|
||||
function x57(val: u8) -> u8 { return x56(val) }
|
||||
function x58(val: u8) -> u8 { return x57(val) }
|
||||
function x59(val: u8) -> u8 { return x58(val) }
|
||||
function x60(val: u8) -> u8 { return x59(val) }
|
||||
function x61(val: u8) -> u8 { return x60(val) }
|
||||
function x62(val: u8) -> u8 { return x61(val) }
|
||||
function x63(val: u8) -> u8 { return x62(val) }
|
||||
function x64(val: u8) -> u8 { return x63(val) }
|
||||
function x65(val: u8) -> u8 { return x64(val) }
|
||||
function x66(val: u8) -> u8 { return x65(val) }
|
||||
function x67(val: u8) -> u8 { return x66(val) }
|
||||
function x68(val: u8) -> u8 { return x67(val) }
|
||||
function x69(val: u8) -> u8 { return x68(val) }
|
||||
function x70(val: u8) -> u8 { return x69(val) }
|
||||
function x71(val: u8) -> u8 { return x70(val) }
|
||||
function x72(val: u8) -> u8 { return x71(val) }
|
||||
function x73(val: u8) -> u8 { return x72(val) }
|
||||
function x74(val: u8) -> u8 { return x73(val) }
|
||||
function x75(val: u8) -> u8 { return x74(val) }
|
||||
function x76(val: u8) -> u8 { return x75(val) }
|
||||
function x77(val: u8) -> u8 { return x76(val) }
|
||||
function x78(val: u8) -> u8 { return x77(val) }
|
||||
function x79(val: u8) -> u8 { return x78(val) }
|
||||
function x80(val: u8) -> u8 { return x79(val) }
|
||||
function x81(val: u8) -> u8 { return x80(val) }
|
||||
function x82(val: u8) -> u8 { return x81(val) }
|
||||
function x83(val: u8) -> u8 { return x82(val) }
|
||||
function x84(val: u8) -> u8 { return x83(val) }
|
||||
function x85(val: u8) -> u8 { return x84(val) }
|
||||
function x86(val: u8) -> u8 { return x85(val) }
|
||||
function x87(val: u8) -> u8 { return x86(val) }
|
||||
function x88(val: u8) -> u8 { return x87(val) }
|
||||
function x89(val: u8) -> u8 { return x88(val) }
|
||||
function x90(val: u8) -> u8 { return x89(val) }
|
||||
function x91(val: u8) -> u8 { return x90(val) }
|
||||
function x92(val: u8) -> u8 { return x91(val) }
|
||||
function x93(val: u8) -> u8 { return x92(val) }
|
||||
function x94(val: u8) -> u8 { return x93(val) }
|
||||
function x95(val: u8) -> u8 { return x94(val) }
|
||||
function x96(val: u8) -> u8 { return x95(val) }
|
||||
function x97(val: u8) -> u8 { return x96(val) }
|
||||
function x98(val: u8) -> u8 { return x97(val) }
|
||||
function x99(val: u8) -> u8 { return x98(val) }
|
||||
function x100(val: u8) -> u8 { return x99(val) }
|
||||
function x101(val: u8) -> u8 { return x100(val) }
|
||||
function x102(val: u8) -> u8 { return x101(val) }
|
||||
function x103(val: u8) -> u8 { return x102(val) }
|
||||
function x104(val: u8) -> u8 { return x103(val) }
|
||||
function x105(val: u8) -> u8 { return x104(val) }
|
||||
function x106(val: u8) -> u8 { return x105(val) }
|
||||
function x107(val: u8) -> u8 { return x106(val) }
|
||||
function x108(val: u8) -> u8 { return x107(val) }
|
||||
function x109(val: u8) -> u8 { return x108(val) }
|
||||
function x110(val: u8) -> u8 { return x109(val) }
|
||||
function x111(val: u8) -> u8 { return x110(val) }
|
||||
function x112(val: u8) -> u8 { return x111(val) }
|
||||
function x113(val: u8) -> u8 { return x112(val) }
|
||||
function x114(val: u8) -> u8 { return x113(val) }
|
||||
function x115(val: u8) -> u8 { return x114(val) }
|
||||
function x116(val: u8) -> u8 { return x115(val) }
|
||||
function x117(val: u8) -> u8 { return x116(val) }
|
||||
function x118(val: u8) -> u8 { return x117(val) }
|
||||
function x119(val: u8) -> u8 { return x118(val) }
|
||||
function x120(val: u8) -> u8 { return x119(val) }
|
||||
function x121(val: u8) -> u8 { return x120(val) }
|
||||
function x122(val: u8) -> u8 { return x121(val) }
|
||||
function x123(val: u8) -> u8 { return x122(val) }
|
||||
function x124(val: u8) -> u8 { return x123(val) }
|
||||
function x125(val: u8) -> u8 { return x124(val) }
|
||||
function x126(val: u8) -> u8 { return x125(val) }
|
||||
function x127(val: u8) -> u8 { return x126(val) }
|
||||
function x128(val: u8) -> u8 { return x127(val) }
|
||||
function x129(val: u8) -> u8 { return x128(val) }
|
||||
function x130(val: u8) -> u8 { return x129(val) }
|
||||
function x131(val: u8) -> u8 { return x130(val) }
|
||||
function x132(val: u8) -> u8 { return x131(val) }
|
||||
function x133(val: u8) -> u8 { return x132(val) }
|
||||
function x134(val: u8) -> u8 { return x133(val) }
|
||||
function x135(val: u8) -> u8 { return x134(val) }
|
||||
function x136(val: u8) -> u8 { return x135(val) }
|
||||
function x137(val: u8) -> u8 { return x136(val) }
|
||||
function x138(val: u8) -> u8 { return x137(val) }
|
||||
function x139(val: u8) -> u8 { return x138(val) }
|
||||
function x140(val: u8) -> u8 { return x139(val) }
|
||||
function x141(val: u8) -> u8 { return x140(val) }
|
||||
function x142(val: u8) -> u8 { return x141(val) }
|
||||
function x143(val: u8) -> u8 { return x142(val) }
|
||||
function x144(val: u8) -> u8 { return x143(val) }
|
||||
function x145(val: u8) -> u8 { return x144(val) }
|
||||
function x146(val: u8) -> u8 { return x145(val) }
|
||||
function x147(val: u8) -> u8 { return x146(val) }
|
||||
function x148(val: u8) -> u8 { return x147(val) }
|
||||
function x149(val: u8) -> u8 { return x148(val) }
|
||||
function x150(val: u8) -> u8 { return x149(val) }
|
||||
function x151(val: u8) -> u8 { return x150(val) }
|
||||
function x152(val: u8) -> u8 { return x151(val) }
|
||||
function x153(val: u8) -> u8 { return x152(val) }
|
||||
function x154(val: u8) -> u8 { return x153(val) }
|
||||
function x155(val: u8) -> u8 { return x154(val) }
|
||||
function x156(val: u8) -> u8 { return x155(val) }
|
||||
function x157(val: u8) -> u8 { return x156(val) }
|
||||
function x158(val: u8) -> u8 { return x157(val) }
|
||||
function x159(val: u8) -> u8 { return x158(val) }
|
||||
function x160(val: u8) -> u8 { return x159(val) }
|
||||
function x161(val: u8) -> u8 { return x160(val) }
|
||||
function x162(val: u8) -> u8 { return x161(val) }
|
||||
function x163(val: u8) -> u8 { return x162(val) }
|
||||
function x164(val: u8) -> u8 { return x163(val) }
|
||||
function x165(val: u8) -> u8 { return x164(val) }
|
||||
function x166(val: u8) -> u8 { return x165(val) }
|
||||
function x167(val: u8) -> u8 { return x166(val) }
|
||||
function x168(val: u8) -> u8 { return x167(val) }
|
||||
function x169(val: u8) -> u8 { return x168(val) }
|
||||
function x170(val: u8) -> u8 { return x169(val) }
|
||||
function x171(val: u8) -> u8 { return x170(val) }
|
||||
function x172(val: u8) -> u8 { return x171(val) }
|
||||
function x173(val: u8) -> u8 { return x172(val) }
|
||||
function x174(val: u8) -> u8 { return x173(val) }
|
||||
function x175(val: u8) -> u8 { return x174(val) }
|
||||
function x176(val: u8) -> u8 { return x175(val) }
|
||||
function x177(val: u8) -> u8 { return x176(val) }
|
||||
function x178(val: u8) -> u8 { return x177(val) }
|
||||
function x179(val: u8) -> u8 { return x178(val) }
|
||||
function x180(val: u8) -> u8 { return x179(val) }
|
||||
function x181(val: u8) -> u8 { return x180(val) }
|
||||
function x182(val: u8) -> u8 { return x181(val) }
|
||||
function x183(val: u8) -> u8 { return x182(val) }
|
||||
function x184(val: u8) -> u8 { return x183(val) }
|
||||
function x185(val: u8) -> u8 { return x184(val) }
|
||||
function x186(val: u8) -> u8 { return x185(val) }
|
||||
function x187(val: u8) -> u8 { return x186(val) }
|
||||
function x188(val: u8) -> u8 { return x187(val) }
|
||||
function x189(val: u8) -> u8 { return x188(val) }
|
||||
function x190(val: u8) -> u8 { return x189(val) }
|
||||
function x191(val: u8) -> u8 { return x190(val) }
|
||||
function x0(val: u8) -> u8 { return val };
|
||||
function x1(val: u8) -> u8 { return x0(val) };
|
||||
function x2(val: u8) -> u8 { return x1(val) };
|
||||
function x3(val: u8) -> u8 { return x2(val) };
|
||||
function x4(val: u8) -> u8 { return x3(val) };
|
||||
function x5(val: u8) -> u8 { return x4(val) };
|
||||
function x6(val: u8) -> u8 { return x5(val) };
|
||||
function x7(val: u8) -> u8 { return x6(val) };
|
||||
function x8(val: u8) -> u8 { return x7(val) };
|
||||
function x9(val: u8) -> u8 { return x8(val) };
|
||||
function x10(val: u8) -> u8 { return x9(val) };
|
||||
function x11(val: u8) -> u8 { return x10(val) };
|
||||
function x12(val: u8) -> u8 { return x11(val) };
|
||||
function x13(val: u8) -> u8 { return x12(val) };
|
||||
function x14(val: u8) -> u8 { return x13(val) };
|
||||
function x15(val: u8) -> u8 { return x14(val) };
|
||||
function x16(val: u8) -> u8 { return x15(val) };
|
||||
function x17(val: u8) -> u8 { return x16(val) };
|
||||
function x18(val: u8) -> u8 { return x17(val) };
|
||||
function x19(val: u8) -> u8 { return x18(val) };
|
||||
function x20(val: u8) -> u8 { return x19(val) };
|
||||
function x21(val: u8) -> u8 { return x20(val) };
|
||||
function x22(val: u8) -> u8 { return x21(val) };
|
||||
function x23(val: u8) -> u8 { return x22(val) };
|
||||
function x24(val: u8) -> u8 { return x23(val) };
|
||||
function x25(val: u8) -> u8 { return x24(val) };
|
||||
function x26(val: u8) -> u8 { return x25(val) };
|
||||
function x27(val: u8) -> u8 { return x26(val) };
|
||||
function x28(val: u8) -> u8 { return x27(val) };
|
||||
function x29(val: u8) -> u8 { return x28(val) };
|
||||
function x30(val: u8) -> u8 { return x29(val) };
|
||||
function x31(val: u8) -> u8 { return x30(val) };
|
||||
function x32(val: u8) -> u8 { return x31(val) };
|
||||
function x33(val: u8) -> u8 { return x32(val) };
|
||||
function x34(val: u8) -> u8 { return x33(val) };
|
||||
function x35(val: u8) -> u8 { return x34(val) };
|
||||
function x36(val: u8) -> u8 { return x35(val) };
|
||||
function x37(val: u8) -> u8 { return x36(val) };
|
||||
function x38(val: u8) -> u8 { return x37(val) };
|
||||
function x39(val: u8) -> u8 { return x38(val) };
|
||||
function x40(val: u8) -> u8 { return x39(val) };
|
||||
function x41(val: u8) -> u8 { return x40(val) };
|
||||
function x42(val: u8) -> u8 { return x41(val) };
|
||||
function x43(val: u8) -> u8 { return x42(val) };
|
||||
function x44(val: u8) -> u8 { return x43(val) };
|
||||
function x45(val: u8) -> u8 { return x44(val) };
|
||||
function x46(val: u8) -> u8 { return x45(val) };
|
||||
function x47(val: u8) -> u8 { return x46(val) };
|
||||
function x48(val: u8) -> u8 { return x47(val) };
|
||||
function x49(val: u8) -> u8 { return x48(val) };
|
||||
function x50(val: u8) -> u8 { return x49(val) };
|
||||
function x51(val: u8) -> u8 { return x50(val) };
|
||||
function x52(val: u8) -> u8 { return x51(val) };
|
||||
function x53(val: u8) -> u8 { return x52(val) };
|
||||
function x54(val: u8) -> u8 { return x53(val) };
|
||||
function x55(val: u8) -> u8 { return x54(val) };
|
||||
function x56(val: u8) -> u8 { return x55(val) };
|
||||
function x57(val: u8) -> u8 { return x56(val) };
|
||||
function x58(val: u8) -> u8 { return x57(val) };
|
||||
function x59(val: u8) -> u8 { return x58(val) };
|
||||
function x60(val: u8) -> u8 { return x59(val) };
|
||||
function x61(val: u8) -> u8 { return x60(val) };
|
||||
function x62(val: u8) -> u8 { return x61(val) };
|
||||
function x63(val: u8) -> u8 { return x62(val) };
|
||||
function x64(val: u8) -> u8 { return x63(val) };
|
||||
function x65(val: u8) -> u8 { return x64(val) };
|
||||
function x66(val: u8) -> u8 { return x65(val) };
|
||||
function x67(val: u8) -> u8 { return x66(val) };
|
||||
function x68(val: u8) -> u8 { return x67(val) };
|
||||
function x69(val: u8) -> u8 { return x68(val) };
|
||||
function x70(val: u8) -> u8 { return x69(val) };
|
||||
function x71(val: u8) -> u8 { return x70(val) };
|
||||
function x72(val: u8) -> u8 { return x71(val) };
|
||||
function x73(val: u8) -> u8 { return x72(val) };
|
||||
function x74(val: u8) -> u8 { return x73(val) };
|
||||
function x75(val: u8) -> u8 { return x74(val) };
|
||||
function x76(val: u8) -> u8 { return x75(val) };
|
||||
function x77(val: u8) -> u8 { return x76(val) };
|
||||
function x78(val: u8) -> u8 { return x77(val) };
|
||||
function x79(val: u8) -> u8 { return x78(val) };
|
||||
function x80(val: u8) -> u8 { return x79(val) };
|
||||
function x81(val: u8) -> u8 { return x80(val) };
|
||||
function x82(val: u8) -> u8 { return x81(val) };
|
||||
function x83(val: u8) -> u8 { return x82(val) };
|
||||
function x84(val: u8) -> u8 { return x83(val) };
|
||||
function x85(val: u8) -> u8 { return x84(val) };
|
||||
function x86(val: u8) -> u8 { return x85(val) };
|
||||
function x87(val: u8) -> u8 { return x86(val) };
|
||||
function x88(val: u8) -> u8 { return x87(val) };
|
||||
function x89(val: u8) -> u8 { return x88(val) };
|
||||
function x90(val: u8) -> u8 { return x89(val) };
|
||||
function x91(val: u8) -> u8 { return x90(val) };
|
||||
function x92(val: u8) -> u8 { return x91(val) };
|
||||
function x93(val: u8) -> u8 { return x92(val) };
|
||||
function x94(val: u8) -> u8 { return x93(val) };
|
||||
function x95(val: u8) -> u8 { return x94(val) };
|
||||
function x96(val: u8) -> u8 { return x95(val) };
|
||||
function x97(val: u8) -> u8 { return x96(val) };
|
||||
function x98(val: u8) -> u8 { return x97(val) };
|
||||
function x99(val: u8) -> u8 { return x98(val) };
|
||||
function x100(val: u8) -> u8 { return x99(val) };
|
||||
function x101(val: u8) -> u8 { return x100(val) };
|
||||
function x102(val: u8) -> u8 { return x101(val) };
|
||||
function x103(val: u8) -> u8 { return x102(val) };
|
||||
function x104(val: u8) -> u8 { return x103(val) };
|
||||
function x105(val: u8) -> u8 { return x104(val) };
|
||||
function x106(val: u8) -> u8 { return x105(val) };
|
||||
function x107(val: u8) -> u8 { return x106(val) };
|
||||
function x108(val: u8) -> u8 { return x107(val) };
|
||||
function x109(val: u8) -> u8 { return x108(val) };
|
||||
function x110(val: u8) -> u8 { return x109(val) };
|
||||
function x111(val: u8) -> u8 { return x110(val) };
|
||||
function x112(val: u8) -> u8 { return x111(val) };
|
||||
function x113(val: u8) -> u8 { return x112(val) };
|
||||
function x114(val: u8) -> u8 { return x113(val) };
|
||||
function x115(val: u8) -> u8 { return x114(val) };
|
||||
function x116(val: u8) -> u8 { return x115(val) };
|
||||
function x117(val: u8) -> u8 { return x116(val) };
|
||||
function x118(val: u8) -> u8 { return x117(val) };
|
||||
function x119(val: u8) -> u8 { return x118(val) };
|
||||
function x120(val: u8) -> u8 { return x119(val) };
|
||||
function x121(val: u8) -> u8 { return x120(val) };
|
||||
function x122(val: u8) -> u8 { return x121(val) };
|
||||
function x123(val: u8) -> u8 { return x122(val) };
|
||||
function x124(val: u8) -> u8 { return x123(val) };
|
||||
function x125(val: u8) -> u8 { return x124(val) };
|
||||
function x126(val: u8) -> u8 { return x125(val) };
|
||||
function x127(val: u8) -> u8 { return x126(val) };
|
||||
function x128(val: u8) -> u8 { return x127(val) };
|
||||
function x129(val: u8) -> u8 { return x128(val) };
|
||||
function x130(val: u8) -> u8 { return x129(val) };
|
||||
function x131(val: u8) -> u8 { return x130(val) };
|
||||
function x132(val: u8) -> u8 { return x131(val) };
|
||||
function x133(val: u8) -> u8 { return x132(val) };
|
||||
function x134(val: u8) -> u8 { return x133(val) };
|
||||
function x135(val: u8) -> u8 { return x134(val) };
|
||||
function x136(val: u8) -> u8 { return x135(val) };
|
||||
function x137(val: u8) -> u8 { return x136(val) };
|
||||
function x138(val: u8) -> u8 { return x137(val) };
|
||||
function x139(val: u8) -> u8 { return x138(val) };
|
||||
function x140(val: u8) -> u8 { return x139(val) };
|
||||
function x141(val: u8) -> u8 { return x140(val) };
|
||||
function x142(val: u8) -> u8 { return x141(val) };
|
||||
function x143(val: u8) -> u8 { return x142(val) };
|
||||
function x144(val: u8) -> u8 { return x143(val) };
|
||||
function x145(val: u8) -> u8 { return x144(val) };
|
||||
function x146(val: u8) -> u8 { return x145(val) };
|
||||
function x147(val: u8) -> u8 { return x146(val) };
|
||||
function x148(val: u8) -> u8 { return x147(val) };
|
||||
function x149(val: u8) -> u8 { return x148(val) };
|
||||
function x150(val: u8) -> u8 { return x149(val) };
|
||||
function x151(val: u8) -> u8 { return x150(val) };
|
||||
function x152(val: u8) -> u8 { return x151(val) };
|
||||
function x153(val: u8) -> u8 { return x152(val) };
|
||||
function x154(val: u8) -> u8 { return x153(val) };
|
||||
function x155(val: u8) -> u8 { return x154(val) };
|
||||
function x156(val: u8) -> u8 { return x155(val) };
|
||||
function x157(val: u8) -> u8 { return x156(val) };
|
||||
function x158(val: u8) -> u8 { return x157(val) };
|
||||
function x159(val: u8) -> u8 { return x158(val) };
|
||||
function x160(val: u8) -> u8 { return x159(val) };
|
||||
function x161(val: u8) -> u8 { return x160(val) };
|
||||
function x162(val: u8) -> u8 { return x161(val) };
|
||||
function x163(val: u8) -> u8 { return x162(val) };
|
||||
function x164(val: u8) -> u8 { return x163(val) };
|
||||
function x165(val: u8) -> u8 { return x164(val) };
|
||||
function x166(val: u8) -> u8 { return x165(val) };
|
||||
function x167(val: u8) -> u8 { return x166(val) };
|
||||
function x168(val: u8) -> u8 { return x167(val) };
|
||||
function x169(val: u8) -> u8 { return x168(val) };
|
||||
function x170(val: u8) -> u8 { return x169(val) };
|
||||
function x171(val: u8) -> u8 { return x170(val) };
|
||||
function x172(val: u8) -> u8 { return x171(val) };
|
||||
function x173(val: u8) -> u8 { return x172(val) };
|
||||
function x174(val: u8) -> u8 { return x173(val) };
|
||||
function x175(val: u8) -> u8 { return x174(val) };
|
||||
function x176(val: u8) -> u8 { return x175(val) };
|
||||
function x177(val: u8) -> u8 { return x176(val) };
|
||||
function x178(val: u8) -> u8 { return x177(val) };
|
||||
function x179(val: u8) -> u8 { return x178(val) };
|
||||
function x180(val: u8) -> u8 { return x179(val) };
|
||||
function x181(val: u8) -> u8 { return x180(val) };
|
||||
function x182(val: u8) -> u8 { return x181(val) };
|
||||
function x183(val: u8) -> u8 { return x182(val) };
|
||||
function x184(val: u8) -> u8 { return x183(val) };
|
||||
function x185(val: u8) -> u8 { return x184(val) };
|
||||
function x186(val: u8) -> u8 { return x185(val) };
|
||||
function x187(val: u8) -> u8 { return x186(val) };
|
||||
function x188(val: u8) -> u8 { return x187(val) };
|
||||
function x189(val: u8) -> u8 { return x188(val) };
|
||||
function x190(val: u8) -> u8 { return x189(val) };
|
||||
function x191(val: u8) -> u8 { return x190(val) };
|
||||
|
@ -167,7 +167,7 @@ impl ParserContext {
|
||||
pub fn parse_return_statement(&mut self) -> SyntaxResult<ReturnStatement> {
|
||||
let start = self.expect(Token::Return)?;
|
||||
let expr = self.parse_expression()?;
|
||||
self.eat(Token::Semicolon);
|
||||
self.expect(Token::Semicolon)?;
|
||||
|
||||
Ok(ReturnStatement {
|
||||
span: &start + expr.span(),
|
||||
|
@ -1,5 +1,5 @@
|
||||
function main() {
|
||||
return 1 + 1
|
||||
return 1 + 1;
|
||||
}
|
||||
|
||||
test function old {
|
||||
|
@ -1,3 +1,3 @@
|
||||
function main() {
|
||||
return 1 + 1
|
||||
return 1 + 1;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
circuit Foo {
|
||||
static function new() -> Self {
|
||||
return Self { }
|
||||
return Self { };
|
||||
}
|
||||
}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user