Skip to content

regression in type resolution #2116

Closed
Closed
@sjamesr

Description

@sjamesr

Hi there,

I noticed some of my code started showing up with errors after building the plugin from master. The code itself is fine:

    fin, fill, err := startConvert(c, tt)
    if err != nil {
        return err
    }
    if err := fill.fromBool(src); err != nil {   // fromBool is not resolved
        return err
    }

startConvert's prototype is

func startConvert(c convTarget, ttFrom *Type) (fin, fill convTarget, err error)

The CTRL-hover text over the fill variable indicates that IntelliJ thinks it is of type error, whereas it's actually of type convTarget. This behavior started after 98be659.

@ignatov

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions