New diagnostic for non-local return annotation

This commit is contained in:
Michael Bogdanov
2014-06-10 11:34:06 +04:00
parent 8092717da4
commit da01a11137
26 changed files with 689 additions and 91 deletions
+8
View File
@@ -24,3 +24,11 @@ public enum class InlineStrategy {
AS_FUNCTION
IN_PLACE
}
public annotation class inlineOptions(vararg val value: InlineOption)
public enum class InlineOption {
LOCAL_CONTINUE_AND_BREAK
ONLY_LOCAL_RETURN
}