This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Loading project definition from /Users/clhodapp/gsoc/git/slick/project | |
[info] Set current project to root (in build file:/Users/clhodapp/gsoc/git/slick/) | |
[info] Test run started | |
[info] Test scala.slick.test.memory.DistributedQueryingTest.test1 started | |
[info] Test run finished: 0 failed, 0 ignored, 1 total, 2.676s | |
[info] Test run started | |
[info] Test com.typesafe.slick.testkit.tests.ReducedTest.testQuery[h2mem] started | |
*** (s.s.c.FuseComprehensions) select(Path , Ref s2) | |
*** (s.s.c.FuseComprehensions) select(Path , Path s2.s3) | |
*** (s.s.c.FuseComprehensions) Checking: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Loading project definition from /Users/clhodapp/gsoc/git/slick/project | |
[info] Set current project to root (in build file:/Users/clhodapp/gsoc/git/slick/) | |
[info] Test run started | |
[info] Test scala.slick.test.lifted.SchemaSupportTest.testSchemaSupport started | |
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.653s | |
[info] Test run started | |
[Using test database jdbc:h2:mem:test1] | |
[info] Test scala.slick.test.direct.QueryableTest.test[0] started | |
[info] Test run finished: 0 failed, 0 ignored, 1 total, 6.958s | |
[info] Test run started |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Loading project definition from /Users/clhodapp/gsoc/git/slick/project | |
[info] Set current project to root (in build file:/Users/clhodapp/gsoc/git/slick/) | |
[info] Test run started | |
[info] Test scala.slick.test.lifted.TablesInObjectTest.test1 started | |
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.587s | |
[info] Test run started | |
[info] Test scala.slick.test.lifted.SchemaSupportTest.testSchemaSupport started | |
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.071s | |
[info] Test run started | |
[Using test database jdbc:h2:mem:test1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Loading global plugins from /Users/clhodapp/.sbt/0.13/plugins | |
[info] Set current project to tmp (in build file:/Users/clhodapp/tmp/) | |
> set libraryDependencies += "junit" % "junit" % "latest.release" | |
[info] Defining *:libraryDependencies | |
[info] The new value will be used by *:allDependencies | |
[info] Reapplying settings... | |
[info] Set current project to tmp (in build file:/Users/clhodapp/tmp/) | |
> console | |
[info] Updating {file:/Users/clhodapp/tmp/}tmp... | |
[info] Resolving org.fusesource.jansi#jansi;1.4 ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import reflect.runtime.universe._ | |
import reflect.runtime.currentMirror | |
import scala.tools.reflect.ToolBox | |
class Demo[T: TypeTag] { | |
def runTest(): Any = { | |
val tb = currentMirror.mkToolBox() | |
val companion = typeOf[T].typeSymbol.companion | |
tb.eval(q"$companion.test") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to Scala 2.12.0-M3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45). | |
Type in expressions for evaluation. Or try :help. | |
scala> :paste | |
// Entering paste mode (ctrl-D to finish) | |
trait Foo[A] | |
object Foo { | |
@annotation.implicitAmbiguous("Custom ambiguous message") | |
implicit def a = new Foo[String] { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome to Scala 2.12.0-M3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45). | |
Type in expressions for evaluation. Or try :help. | |
scala> :paste | |
// Entering paste mode (ctrl-D to finish) | |
trait Foo[A] | |
object Foo { | |
@annotation.implicitAmbiguous("Custom ambiguous message") | |
implicit val a = new Foo[String] { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def foo = """hello | |
there | |
chris""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ scala -language:_ | |
Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45). | |
Type in expressions for evaluation. Or try :help. | |
scala> import reflect.macros.whitebox.Context | |
import reflect.macros.whitebox.Context | |
scala> def idImpl(c: Context)(t: c.Tree): c.Tree = t | |
idImpl: (c: scala.reflect.macros.whitebox.Context)(t: c.Tree)c.Tree |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I, Chris Hodapp, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Fri Oct 28 2016 00:07:21 GMT-0700 (PDT) |