Closed
Description
const x = const [1, 2];
const y = x[0];
yields
"error: ... expression is not a valid compile-time constant"
looks pretty constant to me. i don't see how it's much different from
const x = 1;
const y = x + 1;
which is allowed.
Dart VM version: 1.6.0-dev.5.1 (Thu Jul 24 19:35:53 2014) on "linux_x64"