Skip to content

Issue 1064 - Type parameters of named value functions - haxe #1064

Closed
@issuesbot

Description

@issuesbot

[Google Issue #1064 : https://code.google.com/p/haxe/issues/detail?id=1064]
by simon.kr...@simn.de, at 18/07/2012, 08:17:30

class Main {
    static public function main() {
        var f = function test() { };
    }
}

I think this should be disallowed.

Flash9: Main.hx:3: characters 10-29 : Stack error
neko: Main.hx(3): Variable declaration must be done inside a block

Activity

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