blob: fb872790e015cebe208c550885d0f9af36444e17 [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.
// TODO(sigmund): should this be handled as "other"? (the identifier appears
// direclty in the line producing the error).
//
// Error pattern: \.([^\.]*) is not a function
// Kind of minified name: instance
// Expected deobfuscated name: m1
import 'package:expect/expect.dart';
main() {
dynamic x = confuse(new B());
x.m1();
}
@AssumeDynamic()
@NoInline()
confuse(x) => x;
class B {
m2() {}
}