Skip to content
Snippets Groups Projects
Commit c4591198 authored by Nicolas Voirol's avatar Nicolas Voirol
Browse files

Small fix to DefinitionTransformer

parent 8569a96a
Branches
Tags
No related merge requests found
......@@ -36,7 +36,7 @@ class DefinitionTransformer(
private val tmpDefs: MutableSet[Definition] = MutableSet.empty
private def transformDefs(base: Definition): Unit = {
val deps = dependencies(base)
val deps = dependencies(base) + base
val (cds, fds) = {
val (c, f) = deps.partition(_.isInstanceOf[ClassDef])
(c.map(_.asInstanceOf[ClassDef]), f.map(_.asInstanceOf[FunDef]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment