https://src.bluestatic.org
/
ustaxlib.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a39206
)
Do not use the whole Form to describe a ReferenceLine.
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 8 Mar 2020 22:27:34 +0000
(18:27 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 8 Mar 2020 22:27:34 +0000
(18:27 -0400)
src/Line.ts
patch
|
blob
|
history
diff --git
a/src/Line.ts
b/src/Line.ts
index f85c359063845f24edac73872e3bdfb553fffbca..50308089d05cad86711f0fbe67a886bdf5874493 100644
(file)
--- a/
src/Line.ts
+++ b/
src/Line.ts
@@
-49,7
+49,7
@@
export class ReferenceLine<F extends Form<any>,
// the one the Line is in, erase |form|'s type with |as any| to
// keep TypeScript happy.
constructor(form: FormClass<F>, 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;