2c0ef592e6
- Introduce DSL for declaration of contracts. Functions and classes in this DSL do not bear any computational semantics: in fact, they all do not exist on runtime. Whole work of extracting semantics from such calls is done by special parts of compiler - To make distinguishing those declarations more robust and convenient, introduce internal annotation @ContractsDSL - Turn off InlineChecker inside contracts DSL. We do this, because some functions from DSL should take any possible lambda, so we can't write any type besides 'Function<R>'. However, InlineChecker will complain if we will pass inlined lambda in such function -- though, this is false positive because we know that functions from contracts DSL will never be executed - Change testData on HierarchyTestWithLib, where new enum from kotlin.internal changed expected output ========== Effect System introduction: 7/18
32 lines
1.4 KiB
XML
Vendored
32 lines
1.4 KiB
XML
Vendored
<node text="Object (java.lang)">
|
|
<node text="Enum (java.lang)" base="true">
|
|
<node text="TimeUnit (java.util.concurrent)"/>
|
|
<node text="Category in Locale (java.util)"/>
|
|
<node text="UnicodeScript in Character (java.lang)"/>
|
|
<node text="Type in Cache in InetAddress (java.net)"/>
|
|
<node text="BaselineResizeBehavior in Component (java.awt)"/>
|
|
<node text="PathStatus in File (java.io)"/>
|
|
<node text="PrintMode in JTable (javax.swing)"/>
|
|
<node text="ElementType (java.lang.annotation)"/>
|
|
<node text="State in Thread (java.lang)"/>
|
|
<node text="Type in Window (java.awt)"/>
|
|
<node text="RetentionPolicy (java.lang.annotation)"/>
|
|
<node text="InvocationKind (kotlin.internal.contracts)"/>
|
|
<node text="One ()"/>
|
|
<node text="G ()"/>
|
|
<node text="FileWalkDirection (kotlin.io)"/>
|
|
<node text="OnErrorAction (kotlin.io)"/>
|
|
<node text="RegexOption (kotlin.text)"/>
|
|
<node text="CharCategory (kotlin.text)"/>
|
|
<node text="CharDirectionality (kotlin.text)"/>
|
|
<node text="KVariance (kotlin.reflect)"/>
|
|
<node text="KVisibility (kotlin.reflect)"/>
|
|
<node text="AnnotationTarget (kotlin.annotation)"/>
|
|
<node text="AnnotationRetention (kotlin.annotation)"/>
|
|
<node text="State (kotlin.collections)"/>
|
|
<node text="LazyThreadSafetyMode (kotlin)"/>
|
|
<node text="DeprecationLevel (kotlin)"/>
|
|
<node text="Kind in KParameter (kotlin.reflect)"/>
|
|
</node>
|
|
</node>
|