1/* 2 * Copyright (c) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16// export lazy var v; // 编译器提示报错:应用编译报错 17// export lazy default function f(){}; // 编译器提示报错:应用编译报错 18// export lazy default function(){}; // 编译器提示报错:应用编译报错 19// export lazy default 42; // 编译器提示报错:应用编译报错 20// export lazy { x }; // 编译器提示报错:应用编译报错 21// export lazy { x as v }; // 编译器提示报错:应用编译报错 22// export lazy { x } from 'mod'; // 编译器提示报错:应用编译报错 23// export lazy { x as v } from 'mod'; // 编译器提示报错:应用编译报错 24// export lazy * from 'mod'; // 编译器提示报错:应用编译报错 25 26// import lazy v from 'mod'; // 编译器提示报错:应用编译报错 27// import lazy * as ns from 'mod'; // 编译器提示报错:应用编译报错 28// 29// import lazy type { obj } from './mod'; // 不支持,编译器、应用编译报错 30// import type lazy { obj } from './mod'; // 不支持,编译器、应用编译报错