From: Robert Sesek Date: Sun, 8 Mar 2020 22:27:34 +0000 (-0400) Subject: Do not use the whole Form to describe a ReferenceLine. X-Git-Tag: 1.0.0~36 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=d8f365cfafd0551f5098ed4c6206d82d16a291f5;p=ustaxlib.git Do not use the whole Form to describe a ReferenceLine. --- diff --git a/src/Line.ts b/src/Line.ts index f85c359..5030808 100644 --- a/src/Line.ts +++ b/src/Line.ts @@ -49,7 +49,7 @@ export class ReferenceLine, // the one the Line is in, erase |form|'s type with |as any| to // keep TypeScript happy. constructor(form: FormClass, line: L, description?: string, fallback?: T) { - super(description || `Reference F${form}.L${line}`); + super(description || `Reference F${form.name}.L${line}`); this._form = form; this._line = line; this._fallback = fallback;