Module system
This commit is contained in:
@@ -27,7 +27,7 @@ public class Diagnostic
|
||||
var first = node.Tokens.FirstOrDefault();
|
||||
if (first?.FileSpan != null)
|
||||
{
|
||||
var span = SourceSpan.Merge(node.Tokens.Select(x => x.FileSpan?.Span ?? SourceSpan.Zero));
|
||||
var span = SourceSpan.Merge(node.Tokens.Select(x => x.FileSpan.Span));
|
||||
At(new SourceFileSpan(first.FileSpan.SourceFile, span));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user