Skip to content

Commit

Permalink
Fix generated code example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
carymrobbins committed Feb 27, 2018
1 parent 6c2c621 commit 59fbe07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ package object types {
type Repr = Int
type Base = { type WidgetId$newtype }
trait Tag
type Type = Base with Tag
type Type <: Base with Tag

def apply(x: Int): WidgetId = x.asInstanceOf[WidgetId]

Expand Down

0 comments on commit 59fbe07

Please sign in to comment.