From dd64edd58fe25ec74ae5958128cf3f74b0692f3b Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 28 Jan 2026 18:43:14 +0800 Subject: Fixed compiler issues and added 800+ test cases. --- spec/inputs/test/operator_advanced_spec.yue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/inputs/test/operator_advanced_spec.yue') diff --git a/spec/inputs/test/operator_advanced_spec.yue b/spec/inputs/test/operator_advanced_spec.yue index 8127fd4..8f88d17 100644 --- a/spec/inputs/test/operator_advanced_spec.yue +++ b/spec/inputs/test/operator_advanced_spec.yue @@ -75,7 +75,7 @@ describe "advanced operators", -> it "should handle compound bitwise xor", -> x = 12 -- 1100 in binary - x ~= 10 -- 1010 in binary + x = x~10 -- 1010 in binary assert.same x, 6 -- 0110 in binary it "should work with compound left shift", -> @@ -121,10 +121,10 @@ describe "advanced operators", -> it "should work with :: for method chaining", -> obj = value: 10 - add: (n) => @value += n + add: (n): @ => @value += n get: => @value - result = obj::add 5::get! + result = obj::add(5)::get! assert.same result, 15 it "should handle complex expressions with precedence", -> -- cgit v1.2.3-55-g6feb