blob: 4e878ff620edef027d878e4441412bbac5775453 [file] [log] [blame]
// Copyright (c) 2018, 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.
import 'dart:async';
class A<T>
implements FutureOr<T> //# 01: compile-time error
{}
void main() {
A a = new A();
}