aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2013-03-19 15:29:53 +0100
committerLars Knoll <lars.knoll@digia.com>2013-03-20 09:59:33 +0100
commit4a91ef5ec5c79a0173933908e75157014c867af8 (patch)
tree2778aa2b921814ec3c2f5655d84f4c41d9a2cc5d /tests
parent107d7eab82e6f4d75fffaaa608a0d86938cf69a3 (diff)
Distinguish better between a FunctionDecl and a FunctionExpr.
An ExpressionStatement can not start with the function keyword because that might make it ambiguous with a FunctionDeclaration. However, we insert the same node for either, so if we have a FunctionExpression that is actually a FunctionDeclaration, that is okay. If we have any other ExpressionStatement that starts with a "function" token (e.g. a call expression where the base is a FunctionExpression), error on it. Change-Id: I76acf9aca97b05f25642f82006631cb375dd8c11 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/TestExpectations1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/TestExpectations b/tests/TestExpectations
index 9b3816f636..9c65cb2478 100644
--- a/tests/TestExpectations
+++ b/tests/TestExpectations
@@ -23,5 +23,4 @@ S15.4.4.4_A2_T1 failing
S15.4.4.4_A2_T2 failing
S15.4.4.4_A3_T1 failing
S15.5.4.11_A5_T1 failing
-S12.4_A1 failing
S15.2.4.4_A14 failing