Minor: comment

This commit is contained in:
Pavel V. Talanov
2014-11-20 19:05:25 +03:00
parent 3afdd8bd92
commit 67b2c32253
@@ -32,6 +32,11 @@ public fun JetDeclaration.resolveToDescriptor(): DeclarationDescriptor {
return getResolutionFacade().resolveToDescriptor(this)
}
//NOTE: the difference between analyze and analyzeFully is 'intentionally' unclear
// in theory they do the same thing via different code
// analyze - see ResolveSessionForBodies, ResolveElementCache
// analyzeFully - see KotlinResolveCache, KotlinResolveDataProvider
// In the future these two approaches should be unified
public fun JetElement.analyze(): BindingContext {
return getResolutionFacade().analyze(this)
}