Do not report warning if -XXLanguage turns on bugfix

KT-25554 Fixed
This commit is contained in:
Dmitry Savvinov
2018-07-18 12:07:58 +03:00
committed by Dmitry Savvinov
parent e42017a468
commit 6dacd1011f
15 changed files with 69 additions and 56 deletions
@@ -1,12 +1,3 @@
warning: ATTENTION!
This build uses internal compiler arguments:
-XXLanguage:SoundSmartCastAfterTry
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
warning: incorrect internal argument syntax, missing modificator: -XXLanguage:SoundSmartCastAfterTry
compiler/testData/cli/jvm/legacySmartCastsAfterTry.kt:8:9: error: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
some.length