2f2bdc3c22
Change-Id: I182e28a3c4b44dd899e5ea30ac5c5c3ba60fd6cc Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/425333 Reviewed-by: Srujan Gaddam <srujzs@google.com> Commit-Queue: Bob Nystrom <rnystrom@google.com> Auto-Submit: Bob Nystrom <rnystrom@google.com>
16 lines
430 B
Dart
16 lines
430 B
Dart
// Copyright (c) 2022, 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 'package:js/js.dart';
|
|
|
|
@JS('a.Foo')
|
|
class Foo {
|
|
@JS('c.d.plus')
|
|
external static plus1(arg);
|
|
// ^
|
|
// [web] JS interop static class members cannot have '.' in their JS name.
|
|
}
|
|
|
|
main() {}
|