Skip to content

DartVM crash: empty factory name #968

@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


What steps will reproduce the problem?
consider the following test:

interface I default {
  I();
}

main() {}

What is the expected output? What do you see instead?
Expected: compile-time error
Actual: runtime/vm/parser.cc:1908: error: expected: CurrentToken() == Token::kIDENT

What version of the product are you using? On what operating system?
DartVM r2810

Please provide any additional information below.
co19 test:
LangSpecTest/08_Interfaces/3/Factories/and/Constructors/A01/t01

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions