There was an error while loading. Please reload this page.
1 parent ccedc45 commit 66875e1Copy full SHA for 66875e1
README.md
@@ -67,7 +67,7 @@ Without having an instance of the type:
67
68
println("age")
69
70
- println(nameOf[Person](_.sayHello(???))
+ println(nameOf[Person](_.sayHello(???)))
71
72
//compiles to:
73
println("sayHello")
@@ -77,7 +77,7 @@ You can also use `nameOfType` to get the unqualified name of a type:
77
```scala mdoc:nest
78
import com.github.dwickern.macros.NameOf._
79
80
- println(nameOf[java.lang.String])
+ println(nameOfType[java.lang.String])
81
82
// compiles to:
83
0 commit comments