From ba36567f9715b049d9a0f2b0e2d7c94677dded9c Mon Sep 17 00:00:00 2001 From: wangjunlin Date: Fri, 25 Mar 2022 16:38:14 +0800 Subject: [PATCH 1/2] Amendment of copyright Notice Signed-off-by: wangjunlin Change-Id: Id2bdf346ac4ab15822eaae51abd22f225921cf0e --- OAT.xml | 3 +-- test262/babel-preprocessor.js | 2 +- test262/config.py | 2 +- testTs/test-case.patch | 1 - test_ecma_bcopt/test_bytecode_optimizer_for_js.js | 15 +++++++++++++++ ts2panda/BUILD.gn | 2 +- ts2panda/src/addVariable2Scope.ts | 2 +- ts2panda/src/assemblyDumper.ts | 2 +- ts2panda/src/base/typeSystem.ts | 2 +- ts2panda/src/base/util.ts | 2 +- ts2panda/src/cmdOptions.ts | 2 +- ts2panda/src/compiler.ts | 2 +- ts2panda/src/compilerDriver.ts | 2 +- ts2panda/src/debuginfo.ts | 2 +- ts2panda/src/hoisting.ts | 2 +- ts2panda/src/index.ts | 2 +- ts2panda/src/jshelpers.d.ts | 2 +- ts2panda/src/lexenv.ts | 2 +- ts2panda/src/pandagen.ts | 2 +- ts2panda/src/pandasm.ts | 2 +- ts2panda/src/recorder.ts | 2 +- ts2panda/src/scope.ts | 2 +- ts2panda/src/statement/classStatement.ts | 2 +- ts2panda/src/statement/returnStatement.ts | 2 +- ts2panda/src/statement/tryStatement.ts | 2 +- ts2panda/src/strictMode.ts | 2 +- ts2panda/src/syntaxCheckHelper.ts | 2 +- ts2panda/src/syntaxChecker.ts | 2 +- ts2panda/src/syntaxCheckerForStrcitMode.ts | 2 +- ts2panda/src/ts2panda.ts | 2 +- ts2panda/src/typeChecker.ts | 15 +++++++++++++++ ts2panda/src/typeRecorder.ts | 2 +- ts2panda/src/variable.ts | 2 +- ts2panda/templates/diagnostic.ts.erb | 2 +- ts2panda/templates/irnodes.ts.erb | 2 +- ts2panda/tests/BUILD.gn | 2 +- .../tests/expression/functionExpression.test.ts | 2 +- ts2panda/tests/hoist.test.ts | 2 +- ts2panda/tests/lexenv.test.ts | 2 +- ts2panda/tests/regAllocator.test.ts | 2 +- ts2panda/tests/types/array.test.ts | 2 +- ts2panda/tests/types/array/array_object.ts | 2 +- ts2panda/tests/types/array/array_primitives.ts | 2 +- ts2panda/tests/types/array/array_union.ts | 2 +- ts2panda/tests/types/class.test.ts | 2 +- ts2panda/tests/types/class/class_abstract.ts | 2 +- .../tests/types/class/class_constr_no_para.ts | 2 +- ts2panda/tests/types/class/class_constr_para.ts | 2 +- ts2panda/tests/types/class/class_fields.ts | 2 +- ts2panda/tests/types/class/class_implements.ts | 2 +- ts2panda/tests/types/class/class_methods.ts | 2 +- ts2panda/tests/types/class/class_static_fields.ts | 2 +- .../tests/types/class/class_static_methods.ts | 2 +- ts2panda/tests/types/function.test.ts | 2 +- .../tests/types/function/function_class_para.ts | 2 +- .../tests/types/function/function_class_return.ts | 2 +- .../tests/types/function/function_multi_para.ts | 2 +- ts2panda/tests/types/function/function_no_para.ts | 2 +- .../function/function_same_para_and_return.ts | 2 +- ts2panda/tests/types/object.test.ts | 2 +- ts2panda/tests/types/object/object_class.ts | 2 +- ts2panda/tests/types/object/object_primi.ts | 2 +- ts2panda/tests/types/primitives.test.ts | 2 +- .../tests/types/primitives/primitives_in_block.ts | 2 +- .../tests/types/primitives/primitives_in_class.ts | 2 +- .../tests/types/primitives/primitives_in_for.ts | 2 +- .../types/primitives/primitives_in_function.ts | 2 +- .../tests/types/primitives/primitives_in_if.ts | 2 +- .../primitives/primitives_no_type_annotation.ts | 2 +- .../primitives/primitives_only_type_annotation.ts | 2 +- ts2panda/tests/types/typeUtils.ts | 2 +- ts2panda/tests/types/union.test.ts | 2 +- .../tests/types/union/union_multi_same_primi.ts | 2 +- .../types/union/union_multi_userDefinedType.ts | 2 +- ts2panda/tests/types/union/union_primitives.ts | 2 +- .../tests/types/union/union_userDefinedType.ts | 2 +- ts2panda/tests/utils/base.ts | 2 +- ts2panda/ts2abc/BUILD.gn | 2 +- ts2panda/ts2abc/main.cpp | 2 +- ts2panda/ts2abc/tests/BUILD.gn | 2 +- ts2panda/ts2abc/tests/debuglog_test.cpp | 2 +- ts2panda/ts2abc/tests/debugmode_test.cpp | 2 +- ts2panda/ts2abc/tests/functions_test.cpp | 2 +- ts2panda/ts2abc/tests/stringarr_test.cpp | 2 +- ts2panda/ts2abc/ts2abc.cpp | 2 +- ts2panda/ts2abc/ts2abc.h | 2 +- ts2panda/ts2abc/ts2abc_options.h | 2 +- 87 files changed, 114 insertions(+), 86 deletions(-) diff --git a/OAT.xml b/OAT.xml index 4b2b68b1e1..1578ebfe3e 100644 --- a/OAT.xml +++ b/OAT.xml @@ -1,6 +1,5 @@ -