I see that when I use typealias I can use the new ...
# eap
d
I see that when I use typealias I can use the new name to invoke a constructor of the aliased type
typealias Success<T> = Right<ErrorCode, T>
...
return Success("hooray")
which is pretty useful. But if that is the only use of the alias, IntelliJ sees it as an unused import and will remove it (embarrassingly on a commit). Is this is a known bug?