Skip to content

Instantly share code, notes, and snippets.

@wheaties
Created November 3, 2015 02:32
Show Gist options
  • Select an option

  • Save wheaties/f0fe29e304eb13eb04af to your computer and use it in GitHub Desktop.

Select an option

Save wheaties/f0fe29e304eb13eb04af to your computer and use it in GitHub Desktop.
failed use of imports
import export._
//contrived example
trait LF[A] extends DepFn[A]
@imports[LF]
object LF{
//stuff
}
/*
[error] /Users/oreese/Workspace/playground/LF.scala:165: $tc has an unsupported kind
[error] @imports[LF]
[error] ^
[error] /Users/oreese/Workspace/playground/LF.scala:165: trait LF takes type parameters
[error] @imports[LF]
[error] ^
[error] two errors found
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment