1
2
3
4
5
6
7
8
9
10
11
12
|
1
2
3
4
5
6
7
8
9
10
11
12
|
-
-
-
+
+
+
|
tests/noprelude/diagnostics/template-instantiation-context.g:
14 | return 5454
| ^~~~
| Error: return value type mismatch.
...
12 | ct_string someFunc( $T x )
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
| In the template function declared here.
...
17 | if !assert( higherTpl( someFunc, "meh" ) == "higher: someFunc2: meh", "higher order template test 2" )
| ~~~~~~~~
| Instantiated here.
17 | if !check( higherTpl( someFunc, "meh" ) == "higher: someFunc2: meh", "higher order template test 2" )
| ~~~~~~~~
| Instantiated here.
|