Merge remote-tracking branch 'origin/develop' into breaking

This commit is contained in:
chriseth
2020-07-06 15:25:25 +02:00
118 changed files with 1713 additions and 380 deletions
@@ -0,0 +1,6 @@
{
function _...($..) {}
let a...
_...(a...)
}
// ----
@@ -0,0 +1,4 @@
{
function x..y() {}
}
// ----
@@ -0,0 +1,4 @@
{
function x(a..b) {}
}
// ----
@@ -0,0 +1,4 @@
{
function x() -> a..b {}
}
// ----
@@ -0,0 +1,4 @@
{
let a..b := 1
}
// ----
@@ -0,0 +1,4 @@
{
function x...y() {}
}
// ----
@@ -0,0 +1,4 @@
{
function x(a...b) {}
}
// ----
@@ -0,0 +1,4 @@
{
function x() -> a...b {}
}
// ----
@@ -0,0 +1,4 @@
{
let a...b := 1
}
// ----
@@ -0,0 +1,5 @@
{
function .x() {}
}
// ----
// ParserError 2314: (15-16): Expected identifier but got '.'
@@ -0,0 +1,5 @@
{
function x(.a) {}
}
// ----
// ParserError 2314: (17-18): Expected identifier but got '.'
@@ -0,0 +1,5 @@
{
function x() -> .a {}
}
// ----
// ParserError 2314: (22-23): Expected identifier but got '.'
@@ -0,0 +1,5 @@
{
let .a := 1
}
// ----
// ParserError 2314: (10-11): Expected identifier but got '.'
@@ -0,0 +1,4 @@
{
function x.y() {}
}
// ----
@@ -0,0 +1,4 @@
{
function x(a.b) {}
}
// ----
@@ -0,0 +1,4 @@
{
function x() -> a.b {}
}
// ----
@@ -0,0 +1,4 @@
{
let a.b := 1
}
// ----
@@ -0,0 +1,4 @@
{
function x.() {}
}
// ----
@@ -0,0 +1,4 @@
{
function x(a.) {}
}
// ----
@@ -0,0 +1,4 @@
{
function x() -> a. {}
}
// ----
@@ -0,0 +1,4 @@
{
let a. := 1
}
// ----