Issue

#I9K5DJ:[ArkTS][Frontend]Implement section 'Boolean Comparison Opertors'

Description

Related PR: https://gitee.com/openharmony/arkcompiler_ets_frontend/pulls/2238

  • Added negative tests for the case when boolean is compared to another type (disallowed in TypeScript);
  • Enabled tests from section 07.expressions/24.relational_expressions/03.boolean_comparison_operators;
  • Fixed incorrect tests.

Testing

Runtime template tests:

  • static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/03.boolean_comparison_operators/boolean_comparison.ets
  • static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/03.boolean_comparison_operators/boolean_comparison_neg.ets

Change-Id: I11c1f5f5111e3c0511877bd0aaa8c8fac9f1ee71