Skip to content

assert when parsing Date on --interp #6323

@markknol

Description

@markknol

When I compile this class (which tries to parse a valid input date), it gives an error.

haxe -main Main --interp

class Main {
 static function main() Date.fromString("2016-11-01");
}

Error:
File "src/macro/interp.ml", line 932, characters 5-11: Assertion failed

Seen in Haxe 3.4.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions