// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
enum E1 { a, b } | |
enum E2 { a, b } | |
var v = [E1.a, E2.b]; | |
main() { | |
// Test that v is `List<Object>`, so any of these assignemnts are OK. | |
v[0] = 0; | |
v[1] = '1'; | |
} |