From 05958a1f55106442fb8411b286be918af20571ae Mon Sep 17 00:00:00 2001 From: zhangrengao Date: Tue, 22 Mar 2022 21:55:02 +0800 Subject: [PATCH 1/4] fix copyright & typo error Signed-off-by: zhangrengao Change-Id: I0d39aedb8a54eb3543dabbd37a98f1732116f4e1 --- OAT.xml | 2 +- README.md | 6 ++-- test262/babel-preprocessor.js | 4 +-- test262/config.py | 5 +--- testTs/README.en.md | 19 ------------ testTs/README.md | 30 +++++++++---------- testTs/README_zh.md | 21 +++++++++++++ testTs/config.py | 3 -- testTs/run_testTs.py | 3 -- testTs/utils.py | 3 -- ts2panda/BUILD.gn | 2 +- ts2panda/scripts/generate_plugin.py | 8 ++--- ts2panda/src/addVariable2Scope.ts | 2 +- ts2panda/src/base/literal.ts | 2 +- ts2panda/src/base/typeSystem.ts | 2 +- ts2panda/src/base/util.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 | 4 +-- 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 +- .../expression/functionExpression.test.ts | 2 +- ts2panda/tests/lexenv.test.ts | 10 +++---- ts2panda/tests/types/array.test.ts | 2 +- ts2panda/tests/types/array/array_object.ts | 2 +- .../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 +- .../tests/types/class/class_constr_para.ts | 2 +- ts2panda/tests/types/class/class_fields.ts | 2 +- .../tests/types/class/class_implements.ts | 2 +- ts2panda/tests/types/class/class_methods.ts | 2 +- .../tests/types/class/class_static_fields.ts | 2 +- .../tests/types/class/class_static_methods.ts | 2 +- ts2panda/tests/types/function.test.ts | 2 +- .../types/function/function_class_para.ts | 2 +- .../types/function/function_class_return.ts | 2 +- .../types/function/function_multi_para.ts | 2 +- .../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 +- .../types/primitives/primitives_in_block.ts | 2 +- .../types/primitives/primitives_in_class.ts | 2 +- .../types/primitives/primitives_in_for.ts | 2 +- .../primitives/primitives_in_function.ts | 2 +- .../types/primitives/primitives_in_if.ts | 2 +- .../primitives_no_type_annotation.ts | 2 +- .../primitives_only_type_annotation.ts | 2 +- ts2panda/tests/types/typeUtils.ts | 2 +- ts2panda/tests/types/union.test.ts | 2 +- .../types/union/union_multi_same_primi.ts | 2 +- .../union/union_multi_userDefinedType.ts | 2 +- .../tests/types/union/union_primitives.ts | 2 +- .../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 +- 90 files changed, 144 insertions(+), 141 deletions(-) delete mode 100644 testTs/README.en.md create mode 100644 testTs/README_zh.md diff --git a/OAT.xml b/OAT.xml index 4b2b68b1e1..9a4623d36b 100644 --- a/OAT.xml +++ b/OAT.xml @@ -1,5 +1,5 @@ -