1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/openharmony-arkcompiler_ets_frontend

 / Детали:

[ArkTS] Включите неудачные тесты при слиянии ветки dev 05.09

Предстоит сделать
Владелец
Создано  
05.03.2025

Следующие тесты ets-cts завалились:

06.contexts_and_conversions/05.implicit_conversions/03.constant_narrowing_integer_conversion/assn_var/assn-var_6.ets
06.contexts_and_conversions/05.implicit_conversions/03.constant_narrowing_integer_conversion/comp_obj/comp-clss_6.ets
06.contexts_and_conversions/05.implicit_conversions/08.char_to_string_conversion/assn-var.ets
06.contexts_and_conversions/05.implicit_conversions/08.char_to_string_conversion/comp-clss.ets
```Ошибка в ассерте:

/home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/ETSCompiler.cpp:1458: Compile
ASSERTION FAILED: etsg->Checker()->Relation()->IsIdenticalTo(etsg->GetAccumulatorType(), expr->TsType())
ERRNO: 2 (Нет такого файла или каталога)
Backtrace [tid=682344]:
#0 : 0x7f9e35b44f82 ark::PrintStack(std::ostream&)
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/libpandabase/os/stacktrace.h:50
#1:Need Support Constant Folding for annotation and enum : 0x7f9e35b44eeb ark::debug::AssertionFail(char const*, char const*, unsigned int, char const*)
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/libpandabase/utils/debug.cpp:35
#2:Need to shutdown diff between product build in --version : 0x7f9e36c9fde0 ark::es2panda::compiler::ETSCompiler::Compile(ark::es2panda::ir::CharLiteral const*) const
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/ETSCompiler.cpp:1458
#3:[Bug]:Union type of the same type works wrong with undefined in compile time condition. : 0x7f9e36dd1194 ark::es2panda::ir::CharLiteral::Compile(ark::es2panda::compiler::ETSGen*) const
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/ir/expressions/literals/charLiteral.cpp:50
#4:Add initial script to download and build hello app : 0x7f9e36c99edf ark::es2panda::compiler::ETSCompiler::Compile(ark::es2panda::ir::AssignmentExpression const*) const
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/ETSCompiler.cpp:485
#5:Need to modify reviewer list : 0x7f9e36dc895d ark::es2panda::ir::AssignmentExpression::Compile(ark::es2panda::compiler::ETSGen*) const
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/ir/expressions/assignmentExpression.cpp:144
#6:[Bug]: memory optimization : 0x7f9e36ca0e72 ark::es2panda::compiler::ETSCompiler::Compile(ark::es2panda::ir::ExpressionStatement const*) const
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/ETSCompiler.cpp:1672
#7:[Bug]: dead code elimination : 0x7f9e36de9f4f ark::es2panda::ir::ExpressionStatement::Compile(ark::es2panda::compiler::ETSGen*) const
at /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/ir/statements/expressionStatement.cpp:76

  at /home/user/documents/other_projects/project/runtime_core/static_core/tools/es2panda/compiler/core/ETSGen.cpp:2437
  #9 : 0x7f9e36d13457 ark::es2panda::compiler::ETSFunction::CompileSourceBlock(ark::es2panda::compiler::ETSGen*, ark::es2panda::ir::BlockStatement const*)
  at /home/user/documents/other_projects/project/runtime_core/static_core/tools/es2panda/compiler/core/ETSFunction.cpp:80
  #10: 0x7f9e36d13a74 ark::es2panda::compiler::ETSFunction::CompileFunction(ark::es2panda::compiler::ETSGen*)
  at /home/user/documents/other_projects/project/runtime_core/static_core/tools/es2panda/compiler/core/ETSFunction.cpp:153
  #11: 0x7f9e36d13ad7 ark::es2panda::compiler::ETSFunction::Compile(ark::es2panda::compiler::ETSGen*)
  at /home/user/documents/other_projects/project/runtime_core/static_core/tools/es2panda/compiler/core/ETSFunction.cpp:164
  #12: 0x7f9e36cd80c1 ark::es2panda::compiler::ETSGen::ETSGen(ark::ArenaAllocatorT<false>*, ark::es2panda::compiler::RegSpiller*, ark::es2panda::compiler::CompilerContext*, ark::es2panda::varbinder::FunctionScope*, ark::es2panda::compiler::ProgramElement*, ark::es2panda::compiler::AstCompiler*)
  at /home/user/documents/other_projects/project/runtime_core/static_core/tools/es2panda/compiler/core/ETSGen.cpp:61
  #13: 0x7f9e36c24b4f operator()
  at /home/user/documents/other_projects/project/runtime_core/static_core/tools/es2panda/compiler/core/compilerImpl.cpp:183
  #14: 0x7f9e36c25154 _M_invoke
  at /usr/include/c++/9/bits/std_function.h:300
  #15: bk::std::function<void
  (ark::es2panda::compiler::CompilerContext*, ark::es2panda::varbinder::FunctionScope*, ark::es2panda::compiler::ProgramElement*)>::operator()(ark::es2panda::compiler::CompilerContext*, ark::es2panda::varbinder::FunctionScope*, ark::es2panda::compiler::ProgramElement*) const
  at /usr/include/c++/9/bits/std_function.h:688
  #16: 0x7f9e36c1d818 ark::es2panda::compiler::CompileJob::Run()
  at /home/user/documents/other_projects/project/runtime_core/static_core/tools/es2panda/compiler/core/compileJob.cpp:27
```#17: 0x7f9e36c1e018 ark::es2panda::compiler::CompileQueue::Consume()
  at /home/alexakm/Документы/другие_проекты/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/compileQueue.cpp:95
#18: 0x7f9e36c225f7 ark::es2panda::compiler::CompilerImpl::Emit(ark::es2panda::compiler::CompilerContext*)
 в /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/compilerImpl.cpp:69
#19: 0x7f9e36c2400c CreateCompiler<ark::es2panda::parser::ETSParser, ark::es2panda::varbinder::ETSBinder, ark::es2panda::checker::ETSChecker, ark::es2panda::checker::ETSAnalyzer, ark::es2panda::compiler::ETSCompiler, ark::es2panda::compiler::ETSGen, ark::es2panda::compiler::StaticRegSpiller, ark::es2panda::compiler::ETSFunctionEmitter, ark::es2panda::compiler::ETSEmitter>
 в /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/compilerImpl.cpp:299
#20: 0x7f9e36c22f21 ark::es2panda::compiler::CompilerImpl::Compile(ark::es2panda::compiler::CompilationUnit const&)
 в /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/compiler/core/compilerImpl.cpp:318
#21: 0x7f9e36ba1854 ark::es2panda::Compiler::Compile(ark::es2panda::SourceFile const&, ark::es2panda::CompilerOptions const&, unsigned int)
 в /home/alexakm/Desktop/trash/other-projects/pivovarova/runtime_core/static_core/tools/es2panda/es2panda.cpp:77
#22: 0x100044491 ?  ?  :?  ?
#23: 0x1000450da ?  ?  :?  ?
#24: 0x10004516c main+0x40
#25: 0x7f9e35607083 __libc_start_main+0xf3
#26: 0x10004434e _start+0x2e

```

Комментарий (0)

GitLife Service Account Задача создана
GitLife Service Account добавлено
 
enhancement
label.
GitLife Service Account добавлено
 
waiting_for_assign
label.
Развернуть журнал операций

Вход Перед тем как оставить комментарий

Статус
Ответственный
Контрольная точка
Pull Requests
Связанные запросы на слияние могут быть закрыты после их объединения
Ветки
Дата начала   -   Крайний срок
-
Закрепить/Открепить
Приоритет
Участники(1)
1
https://api.gitlife.ru/oschina-mirror/openharmony-arkcompiler_ets_frontend.git
git@api.gitlife.ru:oschina-mirror/openharmony-arkcompiler_ets_frontend.git
oschina-mirror
openharmony-arkcompiler_ets_frontend
openharmony-arkcompiler_ets_frontend