Skip to content
Snippets Groups Projects
Commit 8bac8a3d authored by stepan's avatar stepan
Browse files

Create special replacement even for <<-

Now when the reading and writing of the target is responsibility of
ReplacementNode, SpecialReplacementNode works even with <<- (super)
parent 2cd35459
Branches
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ abstract class ReplacementNode extends RNode {
private ReplacementBase createReplacementNode(boolean useSpecials) {
CompilerAsserts.neverPartOfCompilation();
// Note: if specials are turned off in FastR, onlySpecials will never be true
boolean createSpecial = hasOnlySpecialCalls() && useSpecials && !isSuper;
boolean createSpecial = hasOnlySpecialCalls() && useSpecials;
return createSpecial ? createSpecialReplacement(source, calls) : createGenericReplacement(source, calls);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment