Export is allowed only for declarations

Description: Removed a test from the ignore list after adding a
syntax error "Export is only allowed for declarations", according to
sections of the ArkTS specification:
- 13.8 Top-Level Declarations;
- 13.9 Export Directives.
Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IAQ198
Testing: run all tests

Signed-off-by: Maxim Logaev <logaevmax@gmail.com>
This commit is contained in:
Maxim Logaev 2024-09-11 16:10:05 +03:00
parent 13c815cb9d
commit 37e8f0273e

View File

@ -1043,10 +1043,6 @@
13.compilation_units_packages_and_modules/09.export_directives/04.re-export_directive/re-export_all_by_old_names.sts 13.compilation_units_packages_and_modules/09.export_directives/04.re-export_directive/re-export_all_by_old_names.sts
# 18493
13.compilation_units_packages_and_modules/08.top-level_declarations/bad_top_level_declarations_2.sts
# end
# 15095 # 15095
09.classes/06.method_declarations/hiding_by_class_methods/hiding_instance_static_method.sts 09.classes/06.method_declarations/hiding_by_class_methods/hiding_instance_static_method.sts
09.classes/06.method_declarations/requirements_in_overriding_and_hiding/hiding_methods_with_different_access_modifiers_2.sts 09.classes/06.method_declarations/requirements_in_overriding_and_hiding/hiding_methods_with_different_access_modifiers_2.sts