Function addSourceLocation [src]
Prototype
pub fn addSourceLocation(wip: *Wip, sl: SourceLocation) Allocator.Error!SourceLocationIndex
Parameters
wip: *Wip
sl: SourceLocation
Source
pub fn addSourceLocation(wip: *Wip, sl: SourceLocation) Allocator.Error!SourceLocationIndex {
return @enumFromInt(try addExtra(wip, sl));
}