Diagnostic update to support default parameters in inline methods

This commit is contained in:
Mikhael Bogdanov
2014-05-15 16:32:02 +04:00
parent 3bd1329846
commit d73ffc2f48
4 changed files with 25 additions and 2 deletions
@@ -17,7 +17,7 @@ inline fun unsupported() {
}<!>
}
inline fun unsupportedDefault(<!NOT_YET_SUPPORTED_IN_INLINE!>s : Int = 10<!>) {
inline fun unsupportedDefault(<!NOT_YET_SUPPORTED_IN_INLINE!>s : ()->Unit = {}<!>) {
}