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

OSCHINA-MIRROR/openharmony-arkcompiler_ets_frontend

 / Детали:

[ArkTS] Report multiple errors in ir/folder by logging instead of throwing

Завершенные
Владелец
Создано  
26.11.2024

[ArkTS] Improve error reporting

Need to remove all ThrowTypeErrorwith LogTypeError in the following files:

  • ir/expressions/memberExpression.cpp
  • ir/statements/forOfStatement.cpp
  • ir/statements/returnStatement.cpp
  • ir/statements/switchCaseStatement.cpp

After it the following steps can be required:

  • if we can gurantee that the type will be corrent then we can leave `checker::Type* for example
  • if we can't gurantee then we should set TypeError to node.
  • Run compiler and parser tests and achieve them not to fail

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

GitLife Service Account Задача создана
GitLife Service Account добавлено
 
bug
label.
GitLife Service Account добавлено
 
waiting_for_assign
label.
GitLife Service Account добавлено
 
异常关闭
label.
GitLife Service Account изменить Статус задачи с Предстоит сделать на Завершенные
Развернуть журнал операций

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

Статус
Ответственный
Контрольная точка
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