Created
October 7, 2016 20:45
-
-
Save bkutil/069ac40d624d9eada1e2c7433c3a2690 to your computer and use it in GitHub Desktop.
opal #1270
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generated by Opal 0.10.0.dev, indentation fixed manually */ | |
/* source: a = true ? 2 : 0 rescue 10 */ | |
(function(Opal) { | |
Opal.dynamic_require_severity = "error"; | |
var OPAL_CONFIG = { method_missing: true, arity_check: false, freezing: true, tainting: true }; | |
var $a, self = Opal.top, $scope = Opal, nil = Opal.nil, $breaker = Opal.breaker, $slice = Opal.slice, a = nil; | |
return a = (function() { | |
try { | |
(function() { | |
if ((($a = true) !== nil && (!$a.$$is_boolean || $a == true))) { | |
return 2 | |
} else { | |
return 0 | |
}; | |
return nil; | |
})() | |
} catch ($err) { | |
if (Opal.rescue($err, [$scope.get('StandardError')])) { | |
return 10 | |
} else { | |
throw $err; | |
} | |
}})() | |
})(Opal); | |
/* Generated by Opal 0.11.0.dev */ | |
/* source: a = true ? 2 : 0 rescue 10 */ | |
return (a = (function() { try { | |
if ((($a = true) !== nil && $a != null && (!$a.$$is_boolean || $a == true))) { | |
return 2 | |
} else { | |
return 0 | |
} | |
} catch ($err) { | |
if (Opal.rescue($err, [Opal.const_get($scopes, 'StandardError', true, true)])) { | |
try { | |
return 10 | |
} finally { Opal.pop_exception() } | |
} else { throw $err; } | |
}})()) | |
/* git bisect points to this commit fixing the issue: 18be44744da9f03e9f73b2bee8b8bec434e33c30 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment