From d8f365cfafd0551f5098ed4c6206d82d16a291f5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 8 Mar 2020 18:27:34 -0400 Subject: [PATCH] Do not use the whole Form to describe a ReferenceLine. --- src/Line.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.5