operator-fraction.go: Typer interface implementation

This commit is contained in:
Celestino Amoroso 2024-05-20 05:31:20 +02:00
parent 82ec78719d
commit 61efdb4eef

View File

@ -204,6 +204,10 @@ func (f *fraction) ToString(opt FmtOpt) string {
return sb.String()
}
func (f *fraction) TypeName() string {
return "fraction"
}
// -------- fraction term
func newFractionTerm(tk *Token) *term {
return &term{