5fe480b788
Fix #49864 TEST=ci Change-Id: I9a7e06d604cd0b4f56f2ac229ab3fc9f01cb9d76 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/256824 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Lasse Nielsen <lrn@google.com> Reviewed-by: Liam Appelbe <liama@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com>
26 lines
631 B
Dart
26 lines
631 B
Dart
// 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.
|
|
|
|
// @dart = 2.7
|
|
|
|
// TODO(sigmund): should this be handled as "other"? (the identifier appears
|
|
// directly in the line producing the error).
|
|
//
|
|
// Error pattern: \.([^\.]*) is not a function
|
|
// Kind of minified name: instance
|
|
// Expected deobfuscated name: m1
|
|
|
|
main() {
|
|
dynamic x = confuse(new B());
|
|
x.m1();
|
|
}
|
|
|
|
@pragma('dart2js:assumeDynamic')
|
|
@pragma('dart2js:noInline')
|
|
confuse(x) => x;
|
|
|
|
class B {
|
|
m2() {}
|
|
}
|