[NI] Render DefinitelyNotNull types with !! postfix

This commit is contained in:
Mikhail Zarechenskiy
2017-11-28 18:32:54 +03:00
parent 7f0cca52ca
commit 9565b56b2a
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2016 JetBrains s.r.o.
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -250,6 +250,10 @@ internal class DescriptorRendererImpl(
if (type.isMarkedNullable) {
append("?")
}
if (type.isDefinitelyNotNullType) {
append("!!")
}
}
private fun StringBuilder.renderTypeConstructorAndArguments(