diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-21 14:07:20 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-21 14:07:20 +0900 |
| commit | 443a7a30f618c32fea6e564f0fcf0822a0d43538 (patch) | |
| tree | 8b52b0e75d9b00e3a560179eef800cdd62015107 /internal/rosa/azalea/evaluate.go | |
| parent | 497e4a564200dd51fdd950e1b83e7a5722e74a4c (diff) | |
internal/rosa: use string pair for files
This is a much cleaner representation than the separator syntax.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/azalea/evaluate.go')
| -rw-r--r-- | internal/rosa/azalea/evaluate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/azalea/evaluate.go b/internal/rosa/azalea/evaluate.go index 617a1618..d57f5cac 100644 --- a/internal/rosa/azalea/evaluate.go +++ b/internal/rosa/azalea/evaluate.go @@ -91,7 +91,7 @@ type TypeError struct { } func (e TypeError) Error() string { - return "expected " + e.Asserted.String() + ", got " + e.Concrete.String() + return fmt.Sprintf("expected %s, got %s", e.Asserted, e.Concrete) } func (e TypeError) Is(err error) bool { |
