Expose some source location for openTagNode in delegate nodes
GITHUB_BREAKING_CHANGES=n/a
@@ -3036,11 +3036,11 @@ private CallNode CallStmt() :
if (calleeName.type() == Identifier.Type.DOT_IDENT) {
errorReporter.report(calleeName.location(), INVALID_CALLEE_NAME, calleeName.identifier());
}
-
+ SourceLocation tag = createSrcLoc(tagBegin, tagClose);
CallDelegateNode node = new CallDelegateNode(
nodeIdGen.genId(),
- createSrcLoc(tagBegin, tagClose),
- (tagBeginEnd != null) ? createSrcLoc(tagBeginEnd) : null,
+ tag,
+ (tagBeginEnd != null) ? createSrcLoc(tagBeginEnd) : tag,
calleeName,
attributes,
errorReporter);
