Skip to content

Spec: an obsolete example program #2903

@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


Spec v0.08, chapter 10.1, page 37 contains the following example:

As an example, consider:
class CircularConsts{
// Illegal program - mutually recursive compile-time constants
static final i = j; // a compile-time constant
static final j = i; // a compile-time constant
}

However, i and j here are not compile-time constants.

Metadata

Metadata

Assignees

Labels

area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions