Skip to content
Permalink
Browse files
Removed stale FIXME in IRBuilder -- fixed long back
  • Loading branch information
subbuss committed Nov 2, 2014
1 parent 8dc5296 commit 0d3a9bc0fa21c110162625adcaafb54ce0a8f5c8
Showing 1 changed file with 0 additions and 4 deletions.
@@ -2810,10 +2810,6 @@ public Operand buildOpAsgnAnd(OpAsgnAndNode andNode, IRScope s) {
return result;
}

// FIXME: This logic is not quite right....marked extra branch checks
// to make sure the value is not defined but nil. Nil will trigger ||=
// rhs expression.
//
// "x ||= y"
// --> "x = (is_defined(x) && is_true(x) ? x : y)"
// --> v = -- build(x) should return a variable! --

0 comments on commit 0d3a9bc

Please sign in to comment.