Skip to content

Uri.uri macro fails with symbol named org #704

@rossabaker

Description

@rossabaker

Well, this is sad.

scala> import org.http4s._

scala> Uri.uri("http://www.example.com/")
res0: org.http4s.Uri = http://www.example.com

scala> val bar = "bar"
bar: String = bar

scala> Uri.uri("http://www.example.com/") / bar
res1: org.http4s.Uri = http://www.example.com/bar

scala> val org = "foo"
org: String = foo

scala> Uri.uri("http://www.example.com/") / org
<console>:16: error: value http4s is not a member of String
       Uri.uri("http://www.example.com/") / org
              ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDetermined to be a bug in http4s

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions