blob: 8622fed34ea70507959109e10946626680d30c29 [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.
// @dart = 2.7
/*spec:nnbd-off.class: Class:*/
/*prod:nnbd-off.class: Class:*/
class Class<T> {
/*spec:nnbd-off.member: Class.:*/
/*prod:nnbd-off.member: Class.:*/
Class();
}
/*spec:nnbd-off.member: main:*/
/*prod:nnbd-off.member: main:*/
main() {
/*spec:nnbd-off.needsSignature*/
/*prod:nnbd-off.*/
local1() {}
/*spec:nnbd-off.needsSignature*/
/*prod:nnbd-off.*/
local2(int i, String s) => i;
print('${local1.runtimeType}');
local2(0, '');
new Class();
}