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

OSCHINA-MIRROR/openharmony-arkcompiler_ets_frontend

 / Детали:

[interop_js] [declgen ets->ts] export only originally exported symbols

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

Explanation:

Currently we export every global symbol we could find. Instead we should only export what was exported in the original file. We can check whether the symbol was exported or not by IsExported and IsDefaultExported methods.

Example:

ets

class C {}
const c: C = new C;
export {c}

current ts

class C {}
export {C}
exports.C = C

const c: C = new C;
export {c}
exports.c = c

desired ts

class C {}

const c: C = new C;
export {c}
exports.c = c

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

GitLife Service Account Задача создана
GitLife Service Account добавлено
 
waiting_for_assign
label.
GitLife Service Account добавлено
 
enhancement
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