This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/analyzer/common-errors.go

9 lines
208 B
Go

package analyzer
func typeMismatchErrorMessage (source Type, destination Type) (message string) {
message += source.Describe()
message += " cannot be used as "
message += destination.Describe()
return
}