From 00134926726c1034956b836f32bd7d71f6d6e1c6 Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Tue, 16 Jul 2024 09:44:22 -0400 Subject: [PATCH] Dune promote --- .../bad/function-signatures/overloading/stanc.expected | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/integration/bad/function-signatures/overloading/stanc.expected b/test/integration/bad/function-signatures/overloading/stanc.expected index 726e5a01e..e84c9aed1 100644 --- a/test/integration/bad/function-signatures/overloading/stanc.expected +++ b/test/integration/bad/function-signatures/overloading/stanc.expected @@ -1,21 +1,22 @@ $ ../../../../../../install/default/bin/stanc define_extern1.stan -Semantic error in 'define_extern1.stan', line 2, column 33 to line 5, column 3: +Semantic error in 'define_extern1.stan', line 3, column 2 to line 5, column 3: ------------------------------------------------- 1: functions { 2: @extern real foo(int x, int y); - ^ 3: real foo(int x, int y){ + ^ 4: return 1.0; + 5: } ------------------------------------------------- Function 'foo' has already been declared for signature (int, int) => real $ ../../../../../../install/default/bin/stanc define_extern2.stan -Semantic error in 'define_extern2.stan', line 2, column 33 to line 3, column 25: +Semantic error in 'define_extern2.stan', line 3, column 2 to column 25: ------------------------------------------------- 1: functions { 2: @extern real foo(int x, int y); - ^ 3: real foo(int x, int y); + ^ 4: } -------------------------------------------------