Skip to content

Instantly share code, notes, and snippets.

@olafurpg
Created August 30, 2017 12:46
Show Gist options
  • Save olafurpg/9b78dff4496d8100e96e148c640915af to your computer and use it in GitHub Desktop.
Save olafurpg/9b78dff4496d8100e96e148c640915af to your computer and use it in GitHub Desktop.
[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
[error] L64: val d = ConfigValueFactory.fromAnyRef(str).atKey("d").getDuration("d")
[error] L64: ^
[error] [E18] 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] [E17] src/main/scala/io.circe.config/printer.scala
[error] Unused import
[error] L19:import com.typesafe.config._
[error] L19: ^
[error] [E16] src/main/scala/io.circe.config/printer.scala
[error] not found: type ConfigRenderOptions
[error] L54: def print(root: Json, options: ConfigRenderOptions = DefaultOptions): String =
[error] L54: ^
[error] [E15] src/main/scala/io.circe.config/printer.scala
[error] no arguments allowed for nullary method render: ()String
[error] L55: jsonToConfigValue(root).render(options)
[error] L55: ^
[error] [E14] src/main/scala/io.circe.config/printer.scala
[error] not found: type ConfigRenderOptions
[error] L54: def print(root: Json, options: ConfigRenderOptions = DefaultOptions): String =
[error] L54: ^
[error] [E13] src/main/scala/io.circe.config/printer.scala
[error] not found: value ConfigRenderOptions
[error] L46: val DefaultOptions = ConfigRenderOptions.defaults.setJson(false).setOriginComments(false)
[error] L46: ^
[error] [E12] src/main/scala/io.circe.config/parser.scala
[error] value parseFile is not a member of object com.typesafe.config.ConfigFactory
[error] L93: toJson(ConfigFactory.parseFile(file))
[error] L93: ^
[error] [E11] src/main/scala/io.circe.config/parser.scala
[error] value unwrapped is not a member of com.typesafe.config.ConfigValue
[error] L60: (value.valueType, value.unwrapped) match {
[error] L60: ^
[error] [E10] src/main/scala/io.circe.config/parser.scala
[error] missing argument list for method convertValueUnsafe
[error] Unapplied methods are only converted to functions when a function type is expected.
[error] You can make this conversion explicit by writing `convertValueUnsafe _` or `convertValueUnsafe(_)` instead of `convertValueUnsafe`.
[error] L57: Json.fromValues(list.asScala.map(convertValueUnsafe))
[error] L57: ^
[error] [E9] src/main/scala/io.circe.config/parser.scala
[error] value asScala is not a member of com.typesafe.config.ConfigValue
[error] L57: Json.fromValues(list.asScala.map(convertValueUnsafe))
[error] L57: ^
[error] [E8] src/main/scala/io.circe.config/parser.scala
[error] not found: type ConfigList
[error] L56: case list: ConfigList =>
[error] L56: ^
[error] [E7] src/main/scala/io.circe.config/package.scala
[error] not found: value ConfigValueFactory
[error] L59: obj => ConfigValueFactory.fromMap(obj.toMap.mapValues(jsonToConfigValue).asJava)
[error] L59: ^
[error] [E6] src/main/scala/io.circe.config/package.scala
[error] not found: value ConfigValueFactory
[error] L58: arr => ConfigValueFactory.fromIterable(arr.map(jsonToConfigValue).asJava),
[error] L58: ^
[error] [E5] src/main/scala/io.circe.config/package.scala
[error] not found: value ConfigValueFactory
[error] L57: str => ConfigValueFactory.fromAnyRef(str),
[error] L57: ^
[error] [E4] src/main/scala/io.circe.config/package.scala
[error] not found: value ConfigValueFactory
[error] L55: case None => ConfigValueFactory.fromAnyRef(number.toDouble)
[error] L55: ^
[error] [E3] src/main/scala/io.circe.config/package.scala
[error] not found: value ConfigValueFactory
[error] L54: case Some(long) => ConfigValueFactory.fromAnyRef(long)
[error] L54: ^
[error] [E2] src/main/scala/io.circe.config/package.scala
[error] not found: value ConfigValueFactory
[error] L52: boolean => ConfigValueFactory.fromAnyRef(boolean),
[error] L52: ^
[error] [E1] src/main/scala/io.circe.config/package.scala
[error] not found: value ConfigValueFactory
[error] L51: ConfigValueFactory.fromAnyRef(null),
[error] L51: ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment