aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Run Scala-fmtJon Pretty2018-01-077-100/+124
|/
* Merge pull request #68 from joroKr21/rework-stackJon Pretty2018-01-072-228/+195
|\ | | | | Rework compile time stack
| * Rework compile time stackGeorgi Krastev2018-01-062-228/+195
|/ | | | | | * 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
* Merge pull request #70 from sirthias/md/debug-annotationJon Pretty2018-01-052-1/+19
|\ | | | | Add support for `magnolia.debug` annotation
| * Merge branch 'master' into md/debug-annotationJon Pretty2018-01-050-0/+0
| |\ | |/ |/|
| * Merge branch 'master' into md/debug-annotationJon Pretty2018-01-054-14/+17
| |\ | |/ |/|
* | Merge pull request #71 from sirthias/md/typenameJon Pretty2018-01-053-11/+11
|\ \ | | | | | | Switch `Subtype#label` member to new `TypeName`
| * | Switch `Subtype#label` member to new `TypeName`Mathias2018-01-053-11/+11
| | |
* | | Merge pull request #69 from sirthias/md/fix-list-intJon Pretty2018-01-052-2/+5
|\ \ \ | |/ / |/| | Fix regression introduced by move to `patchedCompanionRef`
| * | Fix regression introduced by move to `patchedCompanionRef`Mathias2018-01-052-2/+5
|/ /
| * Add support for `magnolia.debug` annotationMathias2018-01-052-1/+19
|/
* Merge pull request #67 from sirthias/md/typenameJon Pretty2018-01-055-22/+38
|\ | | | | Change `typeName: String` to `typeName: magnolia.TypeName` [BREAKING!]
| * Change `typeName: String` to `typeName: magnolia.TypeName` [BREAKING!]Mathias2018-01-045-22/+38
|/
* Merge branch 'joroKr21-companion-ref'Jon Pretty2017-12-293-77/+91
|\
| * Merge branch 'companion-ref' of https://github.com/joroKr21/magnolia into ↵Jon Pretty2017-12-293-77/+91
|/| | | | | | | joroKr21-companion-ref
| * Move pathedCompanionRef to a GlobalUtil objectGeorgi Krastev2017-12-133-76/+91
| | | | | | | | | | | | | | 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 'sirthias-md/rawconstruct'Jon Pretty2017-12-294-14/+140
|\ \
| * \ Merge branch 'md/rawconstruct' of https://github.com/sirthias/magnolia into ↵Jon Pretty2017-12-290-0/+0
| |\ \ | | | | | | | | | | | | sirthias-md/rawconstruct
| | * | Add `CaseClass.rawConstruct` and new `Patcher` exampleMathias2017-12-284-14/+139
| | | |
| * | | Merge branch 'md/rawconstruct' of https://github.com/sirthias/magnolia into ↵Jon Pretty2017-12-284-14/+140
| |\ \ \ | | |/ / | |/| | | | | | sirthias-md/rawconstruct
| | * | Add `CaseClass.rawConstruct` and new `Patcher` exampleMathias2017-12-144-14/+140
| | |/
* | / Tidied up contributorsJon Pretty2017-12-291-3/+4
|/ /
* | Merge pull request #63 from sirthias/masterJon Pretty2017-12-282-31/+33
|\ \ | |/ |/| Make `SealedTrait.dispatch` allocation-free
| * Sprinkle markers and explicit type annotations here and there, other small ↵Mathias2017-12-142-16/+17
| | | | | | | | stuff
| * Make `SealedTrait.dispatch` allocation-freeMathias2017-12-142-15/+16
|/
* Merge pull request #59 from joroKr21/testsJon Pretty2017-12-041-0/+7
|\ | | | | Add test for low-priority implicits when chained
| * 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-303-2/+68
|\
| * Remove extra line added to tests.scalaShadaj Laddad2017-11-301-1/+0
| |
| * Add myself to CONTRIBUTORSShadaj Laddad2017-11-301-0/+1
| |
| * Use patchedCompanionSymbolOf from Shapeless to get companion objectShadaj Laddad2017-11-302-33/+77
| | | | | | | | As suggested by @joroKr21
| * Merge branch 'master' into patch-1Jon Pretty2017-11-3013-82/+322
| |\
| * | Actually instantiate the ParentClass so unit tests runShadaj Laddad2017-11-291-0/+2
| | |
| * | Add unit tests and fix behavior with default parametersShadaj Laddad2017-11-213-10/+29
| | |
| * | 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
| | |
* | | Merge branch 'joroKr21-existentials'Jon Pretty2017-11-302-8/+35
|\ \ \
| * | | 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-305-14/+90
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #56 from propensive/sealed-trait-typename-not-lowercasedJon Pretty2017-11-303-6/+37
|\ \ \ \ | |_|_|/ |/| | | typeName is now the full name of the type, in original case
| * | | typeName is now the full name of the type, in original caseJon Pretty2017-11-303-6/+37
|/ / /
* | | Merge pull request #53 from joroKr21/repeated-paramJon Pretty2017-11-306-23/+70
|\ \ \ | | | | | | | | Add support for repeated parameters
| * | | Add support for repeated (vararg) parametersGeorgi Krastev2017-11-296-10/+59
| | | | | | | | | | | | | | | | Added a `Param.repeated` flag to `interface`.
| | * | Existentially abstract unbound subtype parametersGeorgi Krastev2017-11-294-8/+39
| |/ / | | | | | | | | | | | | | | | | | | 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
| | |
| * | Fix a typo in interfaceGeorgi Krastev2017-11-291-1/+1
|/ / | | | | | | Also, add `.idea` to `.gitignore`.
* | Merge pull request #48 from leandrob13/fix/errorWithAlternativeApplyMethodsJon Pretty2017-11-293-2/+25
|\ \ | | | | | | 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-253-2/+24
| | | | | | | | | | | | alternative apply methods