From dc180ba9798fcd5296d6dea42d986b0fbb604882 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Thu, 30 May 2024 16:01:28 +0200 Subject: [PATCH] Remove test for private foreign function testing. Will be solved in https://github.com/enso-org/enso/issues/10137 --- .../java/org/enso/compiler/ErrorCompilerTest.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/engine/runtime-integration-tests/src/test/java/org/enso/compiler/ErrorCompilerTest.java b/engine/runtime-integration-tests/src/test/java/org/enso/compiler/ErrorCompilerTest.java index 86ade4030f26..ef1c05b488aa 100644 --- a/engine/runtime-integration-tests/src/test/java/org/enso/compiler/ErrorCompilerTest.java +++ b/engine/runtime-integration-tests/src/test/java/org/enso/compiler/ErrorCompilerTest.java @@ -505,18 +505,6 @@ public void illegalPrivateTypeDeclaration() throws Exception { ir, Syntax.UnexpectedExpression$.MODULE$, "Unexpected expression", 0, 14); } - // Foreign functions cannot be specified as private. - @Test - public void illegalPrivateForeignFunction() throws Exception { - var ir = - parse(""" - private foreign js js_func = \"\"\" - return 42; - """); - assertSingleSyntaxError( - ir, Syntax.UnexpectedExpression$.MODULE$, "Unexpected expression", 29, 73); - } - @Test public void illegalEscapeSequence() throws Exception { var ir = parse("""