Skip to content

golang: incorrect syntax error for legal code: type Var string #611

Closed

Description

@mdcnz

The go code

type Var string

is legal, but underlined in red with syntax error: unexpected type. Incorrect case insensitive treatment of Var keyword?

Visual Studio Code: Linux
Version 0.10.1
Commit df35236
Date 2015-11-17T15:21:23.766Z
Shell 0.34.1
Renderer 45.0.2454.85
Node 4.1.1

Activity

  1. mdcnz commented on Nov 25, 2015

    @mdcnz
    Author

    Closing: false alarm, sorry. Code on line above was at fault.

  2. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions