This commit is contained in:
Min ho Kim
2019-07-03 23:51:48 +10:00
committed by Nicolò Ribaudo
parent ef3f555be9
commit 0bf0ae3410
20 changed files with 46 additions and 47 deletions

View File

@@ -235,7 +235,7 @@ export default class Buffer {
source(prop: string, loc: Location, force?: boolean): void {
if (prop && !loc) return;
// Since this is called extremly often, we re-use the same _sourcePosition
// Since this is called extremely often, we re-use the same _sourcePosition
// object for the whole lifetime of the buffer.
this._normalizePosition(prop, loc, this._sourcePosition, force);
}