We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5ee719 commit ec2d026Copy full SHA for ec2d026
lib/idl/ast.rb
@@ -1803,7 +1803,7 @@ def execute(symtab)
1803
var = symtab.get(lhs.text_value)
1804
value_result = value_try do
1805
v = rhs.value(symtab)
1806
- var.value = (lhs.value & ~0) | ((v & 1) << idx.value(symtab))
+ var.value = (lhs.value(symtab) & ~0) | ((v & 1) << idx.value(symtab))
1807
end
1808
value_else(value_result) do
1809
var.value = nil
0 commit comments