Skip to content

Commit

Permalink
Improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasstucki committed Jan 12, 2023
1 parent ecba50d commit 41a46fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/src/scala/quoted/Quotes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3666,7 +3666,8 @@ trait Quotes { self: runtime.QuoteUnpickler & runtime.QuoteMatching =>
@experimental def newClass(parent: Symbol, name: String, parents: List[TypeRepr], decls: Symbol => List[Symbol], selfType: Option[TypeRepr]): Symbol

/** Generates a new module symbol with an associated module class symbol,
* This returns the module symbol. The module class can be accessed calling `moduleClass` on this symbol.
* this is equivalent to an `object` declaration in source code.
* This method returns the module symbol. The module class can be accessed calling `moduleClass` on this symbol.
*
* Example usage:
* ```scala
Expand Down

0 comments on commit 41a46fc

Please sign in to comment.