Skip to content

parser errors in editor for advanced function types #575

@sbijoshj

Description

@sbijoshj

This issue is for valid Haxe code that compiles but gets red lines in the editor. The advanced function types are ones that start with optional parameters, and functions that pass functions. Code examples:

var a:?Int->Void;  // '(', ID, or '{' expected, got '?'
var f:Int->(Int->Void)->Void;  // <type or anonymous> or '?' expected, got '('

Plugin version: Version: 0.10.1.1 for IDEA 2016.1 through 2016.3.2
IDEA version: IntelliJ IDEA 2016.3.3 - Build #IU-163.11103.6, built on January 16, 2017
(IDEA JRE: 1.8.0_112-release-408-b6 x86)
(IDEA JVM: OpenJDK Server VM by JetBrains s.r.o)
OS and OS version: Windows 7 Ultimate SP1
JDK version: 1.8.0_45-b15

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions