9 lines
208 B
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
|
|
}
|