This repository has been archived on 2024-02-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
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
}