Skip to content

Commit

Permalink
Dune promote
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Jul 16, 2024
1 parent 54441cb commit 0013492
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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: }
-------------------------------------------------

Expand Down

0 comments on commit 0013492

Please sign in to comment.