[fine] Error on generic parameters
This commit is contained in:
parent
01798236ec
commit
aaa88717f5
2 changed files with 25 additions and 12 deletions
11
fine/tests/expression/generic_function.fine
Normal file
11
fine/tests/expression/generic_function.fine
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fun generic_add(x, y) {
|
||||
x + y
|
||||
}
|
||||
|
||||
fun test() {
|
||||
generic_add(10, 10)
|
||||
}
|
||||
|
||||
// @ignore
|
||||
// @no-errors
|
||||
// @eval: 20
|
||||
Loading…
Add table
Add a link
Reference in a new issue