Skip to content

Missing quickfix VarDeclarationInspection - single value context #2636

Open
@dlsniper

Description

@dlsniper

The inspection reports Multiple-value [...] in single-value context

package main

func demo() (int, string) {
    return 1, "2"
}

func main() {
    _ = demo() // error
}

This should insert a blank identifier to compensate for the number of missing left side identifiers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions