-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
closed-invalidClosed as we don't believe the reported issue is generally actionableClosed as we don't believe the reported issue is generally actionable
Description
This issue was originally filed by [email protected]
What steps will reproduce the problem?
try to compile
class foo {
Map m1 = {};
Map m2 = { "foo": 1 };
}
What is the expected output? What do you see instead?
I would expect a class with two fields with const initializers.
Instead, I get two errors about the map literals not being constant literals.
What version of the product are you using? On what operating system?
current try-dart-lang
Metadata
Metadata
Assignees
Labels
closed-invalidClosed as we don't believe the reported issue is generally actionableClosed as we don't believe the reported issue is generally actionable