-
Notifications
You must be signed in to change notification settings - Fork 567
Open
Description
Problem description
There is no visible feedback on type
errors. They are not highlighted on assignment or other operations.
Example code
type Celsius float64
type Fahrenheit float64
type Kelvin float64
var example Celsius = Fahrenheit(5) + Kelvin(6) // this should somehow be marked
as it leads to a build exception
go run main.go
# src/tempconv
tempconv/tempconv.go:15: invalid operation: Fahrenheit(5) + Kelvin(6) (mismatched types Fahrenheit and Kelvin)
Versions:
Mac OS Yosemite
Intellij CE 15.0.2
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
go version
go version go1.5.2 darwin/amd64
Plugin Version: 0.9.748