Re-target for ES.Next (#3901)

A list of changes:
- 'es2015-subset' profile is deprecated, and an 'es.next' profile is added.
- The default profile is changed to 'es.next'
- Renamed the JERRY_ES2015 guard to JERRY_ESNEXT
- Renamed JERRY_ES2015_BUILTIN_* guards to JERRY_BUILTIN_*
- Moved es2015 specific tests to a new 'es.next' subdirectory
- Updated docs, targets, and test runners to reflect these changes

Resolves #3737.

JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
This commit is contained in:
Dániel Bátyai
2020-06-12 17:55:00 +02:00
committed by GitHub
parent c0270c4887
commit fde0d556ac
832 changed files with 3053 additions and 3046 deletions
+1 -1
View File
@@ -13,4 +13,4 @@
* limitations under the License.
*/
import { , as b } from "../es2015/module-export-01.js";
import { , as b } from "../es.next/module-export-01.js";
+1 -1
View File
@@ -13,4 +13,4 @@
* limitations under the License.
*/
import , as b from "../es2015/module-export-01.js";
import , as b from "../es.next/module-export-01.js";
+1 -1
View File
@@ -13,4 +13,4 @@
* limitations under the License.
*/
import { b as , } from "../es2015/module-export-01.js";
import { b as , } from "../es.next/module-export-01.js";
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Named imports must be in a NamedImports block. */
import b as , from "../es2015/module-export-01.js";
import b as , from "../es.next/module-export-01.js";
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Can't have duplicate local bindings */
import { c as a, d as a } from "../es2015/module-export-01.js";
import { c as a, d as a } from "../es.next/module-export-01.js";
+1 -1
View File
@@ -15,5 +15,5 @@
/* Import/export statements must be in the global scope. */
if (true) {
import { c } from "../es2015/module-export-01.js";
import { c } from "../es.next/module-export-01.js";
}
+1 -1
View File
@@ -15,5 +15,5 @@
/* Import/export statements must be in the global scope. */
function someFunction() {
import { c } from "../es2015/module-export-01.js";
import { c } from "../es.next/module-export-01.js";
}
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Import/export statements must be in the global scope. */
eval ('import { c } from "../es2015/module-export-01.js";');
eval ('import { c } from "../es.next/module-export-01.js";');
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* NamedImports must always be followed by a FromClause. */
import { b }, from "../es2015/module-export-01.js"
import { b }, from "../es.next/module-export-01.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* An import statement can have either a NameSpaceImport or NamedIpmorts */
import * as mod, { b } from "../es2015/module-export-01.js"
import * as mod, { b } from "../es.next/module-export-01.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* '*' is not valid inside NamedImports. */
import { *, d } from "../es2015/module-imported-01.js"
import { *, d } from "../es.next/module-imported-01.js"
+2 -2
View File
@@ -14,5 +14,5 @@
*/
/* Can't have duplicated local bindings. */
import { b } from "../es2015/module-export-01.js"
import { b } from "../es2015/module-export-02.js"
import { b } from "../es.next/module-export-01.js"
import { b } from "../es.next/module-export-02.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* FromClause must follow an ImportClause. */
import from "../es2015/module-export-02.js"
import from "../es.next/module-export-02.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Namespace imports must have a local name. */
import * from "../es2015/module-export-01.js"
import * from "../es.next/module-export-01.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Star exports can't have an export name. */
export * as star from "../es2015/module-export-01.js"
export * as star from "../es.next/module-export-01.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Indirect exports must be checked if they are resolvable. */
export { l } from "../es2015/module-export-01.js"
export { l } from "../es.next/module-export-01.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Ambiguous import */
import { x } from "../es2015/module-export-05.js"
import { x } from "../es.next/module-export-05.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* Import/export statements must be in the global scope. */
Function('','import { c } from "../es2015/module-export-01.js";')
Function('','import { c } from "../es.next/module-export-01.js";')
+1 -1
View File
@@ -14,4 +14,4 @@
*/
/* No default export found. */
import def from "../es2015/module-export-06.js"
import def from "../es.next/module-export-06.js"
+1 -1
View File
@@ -14,4 +14,4 @@
*/
let a;
import { a } from "../es2015/module-export-fail-test.js";
import { a } from "../es.next/module-export-fail-test.js";
+1 -1
View File
@@ -14,4 +14,4 @@
*/
var a;
import { a } from "../es2015/module-export-fail-test.js";
import { a } from "../es.next/module-export-fail-test.js";
+1 -1
View File
@@ -13,5 +13,5 @@
* limitations under the License.
*/
import { a } from "../es2015/module-export-fail-test.js";
import { a } from "../es.next/module-export-fail-test.js";
class a {};
+1 -1
View File
@@ -13,5 +13,5 @@
* limitations under the License.
*/
import { a } from "../es2015/module-export-fail-test.js";
import { a } from "../es.next/module-export-fail-test.js";
function a() {}
@@ -13,4 +13,4 @@
// limitations under the License.
export {} from "dummy.js";
export {} from "../es2015/module-export-04.js";
export {} from "../es.next/module-export-04.js";