Skip to content
Snippets Groups Projects
Commit e3b702e1 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

small fix (unwrap RLanguage contents) in RRuntimeASTAccessImpl

parent ba5dac9e
Branches
No related tags found
Loading
......@@ -342,7 +342,7 @@ public class RRuntimeASTAccessImpl implements RRuntimeASTAccess {
return state.closePairList();
} else if (obj instanceof RLanguage) {
RLanguage lang = (RLanguage) obj;
RSyntaxNode node = (RSyntaxNode) lang.getRep();
RSyntaxNode node = lang.getRep().asRSyntaxNode();
state.openPairList(SEXPTYPE.LANGSXP);
node.serializeImpl(state);
return state.closePairList();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment