Skip to content

LanguageFeatures/Inline-classes/composing_inline_classes_A05_t05 #2090

@alexmarkov

Description

@alexmarkov

This test has an inline class without an instance variable (field):

inline class V3 {
num foo() => 42;
}

Spec:

A compile-time error occurs if the inline class does not declare any instance variables, and if it declares two or more instance variables.

Metadata

Metadata

Assignees

Labels

bad-testReport tests in need of updates. When closed, the tests should be considered good

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions