Run "Add 'init' keyword in whole project" quickfix

This commit is contained in:
Denis Zharkov
2015-03-31 12:22:34 +03:00
parent 99f1ab333e
commit a4018d9eae
65 changed files with 85 additions and 82 deletions
@@ -186,7 +186,7 @@ class KModel(val context: BindingContext, val config: KDocConfig, val sourceDirs
val sourcesInfo: List<SourceInfo>
;{
init {
val normalizedSourceDirs: List<String> =
sourceDirs.map { file -> file.getCanonicalPath() }
@@ -214,7 +214,7 @@ class KModel(val context: BindingContext, val config: KDocConfig, val sourceDirs
fun sourceInfoByFile(file: JetFile) = sourceInfoByFile.get(file)!!
;{
init {
/** Loads the model from the given set of source files */
val allPackageFragments = HashSet<PackageFragmentDescriptor>()
for (source in sources) {