Type parameters are placed before the name of the function

This commit is contained in:
SatoShun
2019-08-02 00:08:59 +00:00
committed by Denis Zharkov
parent 9c861a111f
commit c43df55965
+1 -2
View File
@@ -7,8 +7,7 @@ Goal: support run-time access to types passed to functions, as if they were reif
A type parameter of a function can be marked as `reified`:
``` kotlin
inline fun foo<reified T>() {}
inline fun <reified T> foo() {}
```
## Semantics, Checks and Restrictions