fix pure with number arg in shapeshifter
This commit is contained in:
parent
56069a2d38
commit
8bf7a6ba6e
2 changed files with 4 additions and 3 deletions
|
|
@ -212,7 +212,7 @@ class Hap {
|
|||
}
|
||||
|
||||
show() {
|
||||
return "(" + (this.whole == undefined ? "~" : this.whole.show()) + ", " + this.part.show() + ", " + this.value + ")"
|
||||
return "(" + (this.whole == undefined ? "~" : this.whole.show()) + ", " + this.part.show() + ", " + JSON.stringify(this.value?.value ?? this.value) + ")"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue