aboutsummaryrefslogtreecommitdiff
path: root/core/shared/src/main/scala/magnolia.scala
Commit message (Collapse)AuthorAgeFilesLines
* Switch `Subtype#label` member to new `TypeName`Mathias2018-01-051-3/+3
|
* Change `typeName: String` to `typeName: magnolia.TypeName` [BREAKING!]Mathias2018-01-041-6/+15
|
* Merge branch 'companion-ref' of https://github.com/joroKr21/magnolia into ↵Jon Pretty2017-12-291-64/+5
|\ | | | | | | joroKr21-companion-ref
| * Move pathedCompanionRef to a GlobalUtil objectGeorgi Krastev2017-12-131-64/+5
| | | | | | | | | | | | | | That method is a workaround for a bug. It doesn't belong in the core Magnolia macro. Also: * Use `patchedCompanionRef` consistently * Add a test for the workaround (method-local classes)
* | Merge branch 'md/rawconstruct' of https://github.com/sirthias/magnolia into ↵Jon Pretty2017-12-281-12/+15
|\ \ | | | | | | | | | sirthias-md/rawconstruct
| * | Add `CaseClass.rawConstruct` and new `Patcher` exampleMathias2017-12-141-12/+15
| |/
* | Sprinkle markers and explicit type annotations here and there, other small ↵Mathias2017-12-141-15/+16
| | | | | | | | stuff
* | Make `SealedTrait.dispatch` allocation-freeMathias2017-12-141-7/+7
|/
* Merge branch 'patch-1' of https://github.com/shadaj/magnoliaJon Pretty2017-11-301-1/+51
|\
| * Use patchedCompanionSymbolOf from Shapeless to get companion objectShadaj Laddad2017-11-301-29/+68
| | | | | | | | As suggested by @joroKr21
| * Merge branch 'master' into patch-1Jon Pretty2017-11-301-23/+46
| |\
| * | Add unit tests and fix behavior with default parametersShadaj Laddad2017-11-211-10/+20
| | |
| * | Simplify logic to directly calculate indexedConstructorParamsShadaj Laddad2017-11-211-4/+3
| | |
| * | Restore ability to derive typeclasses for case classes inside other classesShadaj Laddad2017-11-211-4/+4
| | |
* | | Fixed my bad mergeJon Pretty2017-11-301-1/+1
| | | | | | | | | | | | I should not attempt merges using the online GitHub editor...
* | | Merge branch 'master' into existentialsJon Pretty2017-11-301-11/+26
|\ \ \
| * | | typeName is now the full name of the type, in original caseJon Pretty2017-11-301-5/+5
| | |/ | |/|
| * | Add support for repeated (vararg) parametersGeorgi Krastev2017-11-291-7/+22
| | | | | | | | | | | | Added a `Param.repeated` flag to `interface`.
* | | Existentially abstract unbound subtype parametersGeorgi Krastev2017-11-291-7/+9
|/ / | | | | | | | | | | | | That happens when the subtype of a sealed trait has more type parameters than its parent. When those extra type parameters are covariant they are replaced by their upper bounds, otherwise they are existentially quantified.
* | Minor code simplificationsGeorgi Krastev2017-11-291-12/+10
| |
* | Merge pull request #48 from leandrob13/fix/errorWithAlternativeApplyMethodsJon Pretty2017-11-291-2/+9
|\ \ | | | | | | Fixed derivation error when companion has alternative apply methods
| * | Minor semantic errorLeandro Bolivar2017-11-251-2/+2
| | |
| * | Minor format fixLeandro Bolivar2017-11-251-2/+3
| | |
| * | Fixed error that ocurred when the companion object of a case class has ↵Leandro Bolivar2017-11-251-2/+8
| |/ | | | | | | alternative apply methods
* / Avoid instantiating Unit when producing error stackRahul Goma Phulore2017-11-261-1/+2
|/ | | | Fixes https://github.com/propensive/magnolia/issues/41.
* Avoid confusing error messages if `magnolia._` is not importedJon Pretty2017-11-121-18/+17
|
* scalajs cross buildLoic Descotte2017-11-111-0/+522