## Minimized code Running: ```scala val pos = sourcePosition(driver, params, uri) val trees = driver.openedTrees(uri) val path = Interactive.pathTo(trees, pos) val tp = Interactive.enclosingType(trees, pos) val tpw = tp.widenTermRefExpr ``` on ```scala object SimpleEnum: enum Color: case Re@@d, Green, Blue ``` will produce type tree: `val tpw = ImportType(Ident(Color))` ## Expectation We should get a valid type representing the Color enum. What is weird is that `Interactive.pathTo` gives us: ```scala path.head == Import(Ident(Color),List(ImportSelector(Ident(Red),EmptyTree,EmptyTree), ImportSelector(Ident(Green),EmptyTree,EmptyTree), ImportSelector(Ident(Blue),EmptyTree,EmptyTree))) ``` while there are no actual imports.