aboutsummaryrefslogtreecommitdiff
path: root/tests/src/main/scala/tests.scala
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'companion-ref' of https://github.com/joroKr21/magnolia into ↵Jon Pretty2017-12-291-13/+27
|\ | | | | | | joroKr21-companion-ref
| * Move pathedCompanionRef to a GlobalUtil objectGeorgi Krastev2017-12-131-12/+27
| | | | | | | | | | | | | | 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)
* | Add `CaseClass.rawConstruct` and new `Patcher` exampleMathias2017-12-141-1/+40
|/
* Add test for low-priority implicits when chainedGeorgi Krastev2017-12-041-0/+7
|
* Merge branch 'patch-1' of https://github.com/shadaj/magnoliaJon Pretty2017-11-301-1/+16
|\
| * Remove extra line added to tests.scalaShadaj Laddad2017-11-301-1/+0
| |
| * Use patchedCompanionSymbolOf from Shapeless to get companion objectShadaj Laddad2017-11-301-4/+9
| | | | | | | | As suggested by @joroKr21
| * Merge branch 'master' into patch-1Jon Pretty2017-11-301-2/+43
| |\
| * | Actually instantiate the ParentClass so unit tests runShadaj Laddad2017-11-291-0/+2
| | |
| * | Add unit tests and fix behavior with default parametersShadaj Laddad2017-11-211-0/+8
| | |
* | | Merge branch 'master' into existentialsJon Pretty2017-11-301-3/+31
|\ \ \
| * | | typeName is now the full name of the type, in original caseJon Pretty2017-11-301-1/+13
| | |/ | |/|
| * | Add support for repeated (vararg) parametersGeorgi Krastev2017-11-291-2/+16
| | | | | | | | | | | | Added a `Param.repeated` flag to `interface`.
* | | Existentially abstract unbound subtype parametersGeorgi Krastev2017-11-291-0/+23
|/ / | | | | | | | | | | | | 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.
* | Merge pull request #48 from leandrob13/fix/errorWithAlternativeApplyMethodsJon Pretty2017-11-291-0/+15
|\ \ | | | | | | Fixed derivation error when companion has alternative apply methods
| * | Fixed error that ocurred when the companion object of a case class has ↵Leandro Bolivar2017-11-251-0/+15
| |/ | | | | | | alternative apply methods
* / Avoid instantiating Unit when producing error stackRahul Goma Phulore2017-11-261-0/+10
|/ | | | Fixes https://github.com/propensive/magnolia/issues/41.
* Include warnings if `combine` or `dispatch` methods are missingJon Pretty2017-11-101-1/+1
|
* Include support for decomposing AnyVals, like case classesJon Pretty2017-11-101-0/+6
|
* Decode typeNames and labelsJon Pretty2017-11-101-0/+6
|
* ScalafmtJon Pretty2017-11-101-1/+3
|
* More build cleanup, and a couple of extra testsJon Pretty2017-11-101-0/+38
|
* Upgrade to SBT 1.0 and include testing binariesv0.5.0Jon Pretty2017-11-091-8/+10
|
* Added better scaladocs and provide default valuesJon Pretty2017-11-081-12/+18
|
* API improvements and better examplesJon Pretty2017-11-071-14/+41
|
* Deduplication within case class parameter typeclassesJon Pretty2017-11-051-2/+0
|
* Start of performance-enhancing refactoringJon Pretty2017-11-041-0/+4
|
* Test fixes and other miscellaneous changesJon Pretty2017-11-031-5/+5
|
* Support for GADTs (including recursive ones)Jon Pretty2017-11-011-11/+11
| | | | Some tests still failing, but macros are working
* Support nontrivial type constructorsJon Pretty2017-10-311-7/+7
|
* Support for case objectsJon Pretty2017-10-301-0/+91