Skip to content

Commit

Permalink
Fix syntax in Expr.scala
Browse files Browse the repository at this point in the history
```
class Expr private

object
```
now means the `private` modifier is for the following `object`, not the (invisible) constructor of `Expr`.
  • Loading branch information
odersky committed Apr 18, 2022
1 parent d2a5fc7 commit eb1e71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/scala/quoted/Expr.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package scala.quoted
*
* `Expr` has extension methods that are defined in `scala.quoted.Quotes`.
*/
abstract class Expr[+T] private[scala]
abstract class Expr[+T] private[scala] ()

/** Constructors for expressions */
object Expr {
Expand Down

0 comments on commit eb1e71f

Please sign in to comment.