Skip to content

Instantly share code, notes, and snippets.

View olafurpg's full-sized avatar

Ólafur Páll Geirsson olafurpg

View GitHub Profile
[info] - checkSyntax/ExplicitArgs.source: explicit args *** FAILED ***
[info] java.lang.AssertionError: assertion failed
[info] at scala.Predef$.assert(Predef.scala:156)
[info] at scala.meta.internal.scalahost.databases.AnchorOps$XtensionGPositionAnchor.toAnchor(AnchorOps.scala:26)
[info] at scala.meta.internal.scalahost.databases.SymbolOps$XtensionGSymbolMSymbol.toSemantic(SymbolOps.scala:26)
[info] at scala.meta.internal.scalahost.databases.AttributedSourceOps$XtensionCompilationUnitAttributedSource$$anonfun$toAttributedSource$1$traverser$4$.scala$meta$internal$scalahost$databases$AttributedSourceOps$XtensionCompilationUnitAttributedSource$$anonfun$traverser$$success$1(AttributedSourceOps.scala:142)
[info] at scala.meta.internal.scalahost.databases.AttributedSourceOps$XtensionCompilationUnitAttributedSource$$anonfun$toAttributedSource$1$traverser$4$.tryMstart$1(AttributedSourceOps.scala:172)
[info] at scala.meta.internal.scalahost.databases.AttributedSourceOps$XtensionCompilationUni
### Keybase proof
I hereby claim:
* I am olafurpg on github.
* I am olafurpg (https://keybase.io/olafurpg) on keybase.
* I have a public key ASBWL3B6vwTFNNWn4vk9IOLiM_GyPCJr9I5FpnquLrW2Bgo
To claim this, I am signing this object:
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFbYOYwBCAC3nPSNUvA54fLl0szvVftK7Hngh8S6ny/VRr00LjG32gqh7Cnv
qpFqFQKcZnGUXTnB09JK1y0aOk4d+zO6K+jLxIkyPnnFna+VsJzIf2LxX1b07SYK
q4uyiu5DwYFgSRt89dy+kCRTDPDAbBiDJfnM1A9Ut7UwHvMfwe5r+hZTrpn/EE1K
mzX3B4Bv/DJVXKOqcl3fX5a8gOj9dQk0pFU67+S/QugZ5WKqwMTObaczbcdkD+W2
or0S0V7aM0SkFMihJTfgOWQ68Cz/WFfn6Un2+q/C6bsujaIT80G3ogi7XK/BQYcS
fc9VGh1fwBAZGUCxqdr6oIC6NuOEDvi6Rgc3ABEBAAG0KU9sYWZ1ciBQYWxsIEdl
aXJzc29uIDxvbGFmdXJwZ0BnbWFpbC5jb20+iQEcBBMBAgAGBQJW2DmMAAoJEJTZ
IOL9IbuBLZoH/joQrXNWpcb87HV4N3oQETgE1fR34Z7GW8Hsbi4e+DCRAGgt+TFH
diff --git a/scalameta/scalameta/jvm/src/test/scala/scala/meta/tests/api/NameclashSuite.scala b/scalameta/scalameta/jvm/src/test/scala/scala/meta/tests/api/NameclashSuite.scala
index 6f5d6b6..e076066 100644
--- a/scalameta/scalameta/jvm/src/test/scala/scala/meta/tests/api/NameclashSuite.scala
+++ b/scalameta/scalameta/jvm/src/test/scala/scala/meta/tests/api/NameclashSuite.scala
@@ -181,13 +179,7 @@ class SurfaceSuite extends scala.meta.tests.ast.AstSuite {
assert(trees.toList.sorted.mkString(EOL) === """
|scala.meta.Case
|scala.meta.Ctor
- |scala.meta.Ctor.Call
|scala.meta.Ctor.Primary
[1.9] scalameta: ~benchmarks/testOnly -- -oF
[info] BenchmarkOK:
[info] - microBenchmark: class org.scalameta.benchmarks.Micro$ExtraLarge *** FAILED ***
[info] org.scalameta.invariants.InvariantFailedException: invariant failed:
[info] when verifying roughIndex.>=(0).&&(org.scalameta.`package`.debug(XtensionTokenIndex.this.token))
[info] found that roughIndex.>=(0) is false
[info] where XtensionTokenIndex = scala.meta.internal.parsers.ScalametaParser$XtensionTokenIndex@15dc4c6f
[info] where XtensionTokenIndex.this.token =
import sbt._, Keys._
import scala.xml.{Node => XmlNode, NodeSeq => XmlNodeSeq, _}
import scala.xml.transform.{RewriteRule, RuleTransformer}
import sbt.plugins.JvmPlugin
object PPrintPlugin extends AutoPlugin {
override def requires = JvmPlugin
override def trigger: PluginTrigger = AllRequirements
override def projectSettings: Seq[Def.Setting[_]] = List(
libraryDependencies ++= {
This file has been truncated, but you can view the full file.
## implicit param list
URL | details |
--- | --- |
[akka/UidClashTest.scala#L26](https://github.com/akka/akka/blob/3698928fbdaa8fef8e2037fbc51887ab60addefb/akka-actor-tests/src/test/scala/akka/actor/UidClashTest.scala#L26) | <code>!</code>
[akka/RemoteActorRefProvider.scala#L87](https://github.com/akka/akka/blob/3698928fbdaa8fef8e2037fbc51887ab60addefb/akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala#L87) | <code>!</code>
[akka/RemoteActorRefProvider.scala#L497](https://github.com/akka/akka/blob/3698928fbdaa8fef8e2037fbc51887ab60addefb/akka-remote/src/main/scala/akka/remote/RemoteActorRefProvider.scala#L497) | <code>!</code>
[akka/RemoteDaemon.scala#L137](https://github.com/akka/akka/blob/3698928fbdaa8fef8e2037fbc51887ab60addefb/akka-remote/src/main/scala/akka/remote/RemoteDaemon.scala#L137) | <code>!</code>
[akka/Inbox.scala#L23](https://github.com/akka/akka/blob/3698928fbdaa8fef8e2037fbc51887ab60addefb/akka-typed/src/main/scala/akka/typed/Inbox.scala#L23) | <code>!</code>
[akka/AskSupport
This file has been truncated, but you can view the full file.
diff --git a/akka-actor-tests/src/test/scala/akka/actor/ActorCreationPerfSpec.scala b/akka-actor-tests/src/test/scala/akka/actor/ActorCreationPerfSpec.scala
index 8b216ab..73702c4 100644
--- a/akka-actor-tests/src/test/scala/akka/actor/ActorCreationPerfSpec.scala
+++ b/akka-actor-tests/src/test/scala/akka/actor/ActorCreationPerfSpec.scala
@@ -15,7 +15,7 @@ import com.typesafe.config.ConfigFactory
object ActorCreationPerfSpec {
- val config = ConfigFactory.parseString("""
+ val config: com.typesafe.config.Config = ConfigFactory.parseString("""
[error] [E21] src/main/scala/io.circe.config/syntax.scala
[error] not found: type ConfigMemorySize
[error] L90: implicit val memorySizeDecoder: Decoder[ConfigMemorySize] = Decoder.decodeString.emap { str =>
[error] L90: ^
[error] [E20] src/main/scala/io.circe.config/syntax.scala
[error] not found: value ConfigValueFactory
[error] L92: .catchNonFatal(ConfigValueFactory.fromAnyRef(str).atKey("m").getMemorySize("m"))
[error] L92: ^
[error] [E19] src/main/scala/io.circe.config/syntax.scala
[error] not found: value ConfigValueFactory