Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Permit derivations of products when `dispatch` not defined | Jon Pretty | 2018-06-06 | 1 | -1/+14 |
| | |||||
* | Remove explicit Show.gen imports from tests | Georgi Krastev | 2018-04-14 | 1 | -8/+5 |
| | | | | | These imports were changing the priority of implicits which means the tests were not accurate. | ||||
* | Updated version numbers to 0.7.1 | Jon Pretty | 2018-02-25 | 1 | -1/+1 |
| | |||||
* | Added copyright notice on every file | Jon Pretty | 2018-02-18 | 1 | -0/+14 |
| | |||||
* | Added top-level annotation capture | Kevin Wright | 2018-02-01 | 1 | -2/+2 |
| | |||||
* | Added annotation capture to params | Kevin Wright | 2018-02-01 | 1 | -6/+17 |
| | | | | | | | Added test for annotation capture Updated to lamdafied syntax for SAM type construction Minor changes to permit compilation under JDK 9 Added Kevin Wright as a contributor | ||||
* | Made it compile under Java 9 | Kevin Wright | 2018-01-26 | 1 | -1/+6 |
| | |||||
* | Run Scala-fmt | Jon Pretty | 2018-01-07 | 1 | -21/+14 |
| | |||||
* | Rework compile time stack | Georgi Krastev | 2018-01-06 | 1 | -35/+66 |
| | | | | | | * Use a classic mutable stack (a case class without lenses is cumbersome) * Add typeclass constructor to stack frames, cache and error messages * Clean-up usage of `Option`s | ||||
* | Fix regression introduced by move to `patchedCompanionRef` | Mathias | 2018-01-05 | 1 | -0/+4 |
| | |||||
* | Change `typeName: String` to `typeName: magnolia.TypeName` [BREAKING!] | Mathias | 2018-01-04 | 1 | -5/+5 |
| | |||||
* | Merge branch 'companion-ref' of https://github.com/joroKr21/magnolia into ↵ | Jon Pretty | 2017-12-29 | 1 | -13/+27 |
|\ | | | | | | | joroKr21-companion-ref | ||||
| * | Move pathedCompanionRef to a GlobalUtil object | Georgi Krastev | 2017-12-13 | 1 | -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` example | Mathias | 2017-12-14 | 1 | -1/+40 |
|/ | |||||
* | Add test for low-priority implicits when chained | Georgi Krastev | 2017-12-04 | 1 | -0/+7 |
| | |||||
* | Merge branch 'patch-1' of https://github.com/shadaj/magnolia | Jon Pretty | 2017-11-30 | 1 | -1/+16 |
|\ | |||||
| * | Remove extra line added to tests.scala | Shadaj Laddad | 2017-11-30 | 1 | -1/+0 |
| | | |||||
| * | Use patchedCompanionSymbolOf from Shapeless to get companion object | Shadaj Laddad | 2017-11-30 | 1 | -4/+9 |
| | | | | | | | | As suggested by @joroKr21 | ||||
| * | Merge branch 'master' into patch-1 | Jon Pretty | 2017-11-30 | 1 | -2/+43 |
| |\ | |||||
| * | | Actually instantiate the ParentClass so unit tests run | Shadaj Laddad | 2017-11-29 | 1 | -0/+2 |
| | | | |||||
| * | | Add unit tests and fix behavior with default parameters | Shadaj Laddad | 2017-11-21 | 1 | -0/+8 |
| | | | |||||
* | | | Merge branch 'master' into existentials | Jon Pretty | 2017-11-30 | 1 | -3/+31 |
|\ \ \ | |||||
| * | | | typeName is now the full name of the type, in original case | Jon Pretty | 2017-11-30 | 1 | -1/+13 |
| | |/ | |/| | |||||
| * | | Add support for repeated (vararg) parameters | Georgi Krastev | 2017-11-29 | 1 | -2/+16 |
| | | | | | | | | | | | | Added a `Param.repeated` flag to `interface`. | ||||
* | | | Existentially abstract unbound subtype parameters | Georgi Krastev | 2017-11-29 | 1 | -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/errorWithAlternativeApplyMethods | Jon Pretty | 2017-11-29 | 1 | -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 Bolivar | 2017-11-25 | 1 | -0/+15 |
| |/ | | | | | | | alternative apply methods | ||||
* / | Avoid instantiating Unit when producing error stack | Rahul Goma Phulore | 2017-11-26 | 1 | -0/+10 |
|/ | | | | Fixes https://github.com/propensive/magnolia/issues/41. | ||||
* | Include warnings if `combine` or `dispatch` methods are missing | Jon Pretty | 2017-11-10 | 1 | -1/+1 |
| | |||||
* | Include support for decomposing AnyVals, like case classes | Jon Pretty | 2017-11-10 | 1 | -0/+6 |
| | |||||
* | Decode typeNames and labels | Jon Pretty | 2017-11-10 | 1 | -0/+6 |
| | |||||
* | Scalafmt | Jon Pretty | 2017-11-10 | 1 | -1/+3 |
| | |||||
* | More build cleanup, and a couple of extra tests | Jon Pretty | 2017-11-10 | 1 | -0/+38 |
| | |||||
* | Upgrade to SBT 1.0 and include testing binariesv0.5.0 | Jon Pretty | 2017-11-09 | 1 | -8/+10 |
| | |||||
* | Added better scaladocs and provide default values | Jon Pretty | 2017-11-08 | 1 | -12/+18 |
| | |||||
* | API improvements and better examples | Jon Pretty | 2017-11-07 | 2 | -21/+41 |
| | |||||
* | Deduplication within case class parameter typeclasses | Jon Pretty | 2017-11-05 | 1 | -2/+0 |
| | |||||
* | Start of performance-enhancing refactoring | Jon Pretty | 2017-11-04 | 2 | -1/+5 |
| | |||||
* | Test fixes and other miscellaneous changes | Jon Pretty | 2017-11-03 | 2 | -5/+12 |
| | |||||
* | Support for GADTs (including recursive ones) | Jon Pretty | 2017-11-01 | 1 | -11/+11 |
| | | | | Some tests still failing, but macros are working | ||||
* | Support nontrivial type constructors | Jon Pretty | 2017-10-31 | 1 | -7/+7 |
| | |||||
* | Support for case objects | Jon Pretty | 2017-10-30 | 1 | -10/+13 |
| | |||||
* | All variants now deriving | Jon Pretty | 2017-10-30 | 1 | -8/+15 |
| | | | | Though there's a stack overflow when trying to derive a `Decoder`. | ||||
* | Derivation working for Show and Eq | Jon Pretty | 2017-10-30 | 1 | -0/+81 |