{"action":"created","issue":{"url":"https://api.github.com/repos/daniel-trinh/scalariform/issues/81","labels_url":"https://api.github.com/repos/daniel-trinh/scalariform/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/daniel-trinh/scalariform/issues/81/comments","events_url":"https://api.github.com/repos/daniel-trinh/scalariform/issues/81/events","html_url":"https://github.com/daniel-trinh/scalariform/issues/81","id":108698043,"number":81,"title":"failed to parse type signature","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-28T16:43:11Z","updated_at":"2015-09-28T23:15:48Z","closed_at":"2015-09-28T17:24:29Z","body":"Since upgrading recently, I've been seeing errors to parse this trivial file:\r\n\r\n```scala\r\npackage org.ensime.indexer\r\n\r\nimport org.apache.lucene.document._\r\n\r\npackage object lucene {\r\n  implicit class RichEntity[T <: Entity](e: T) {\r\n    def toDocument(implicit p: DocumentProvider[T]) = p.toDocument(e)\r\n  }\r\n\r\n  implicit class RichDocument(d: Document) {\r\n    def toEntity[T](implicit p: DocumentRecovery[T]) = p.toEntity(d)\r\n  }\r\n}\r\n```\r\n\r\nwith the error\r\n\r\n```\r\n[warn] Scalariform parser error for /path/to/file.scala: Expected token RBRACKET but got Token(XML_START_OPEN,<,865,<)\r\n```\r\n\r\nthe offset matches 865 is `[T <: Entity]` on the file on disk (I've removed a bunch of irrelevant scaladocs here)."},"comment":{"url":"https://api.github.com/repos/daniel-trinh/scalariform/issues/comments/143899344","html_url":"https://github.com/daniel-trinh/scalariform/issues/81#issuecomment-143899344","issue_url":"https://api.github.com/repos/daniel-trinh/scalariform/issues/81","id":143899344,"user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T23:15:48Z","updated_at":"2015-09-28T23:15:48Z","body":"thanks, that fixes it!"}}