summary refs log tree commit diff stats
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* requested code review changesZahary Karadjov2017-03-294-30/+43
|
* Fix the compilation of the emmy packageZahary Karadjov2017-03-281-0/+2
|
* fix tgenericshardcasesZahary Karadjov2017-03-242-8/+14
|
* use lower-case proc namesZahary Karadjov2017-03-241-4/+4
|
* restore compilation and make all concepts tests greenZahary Karadjov2017-03-243-7/+8
|
* carefully reviewed and merged the changes from the devel branchZahary Karadjov2017-03-241-61/+75
|
* Working test cases for the sophisticated matrix library example from the manualZahary Karadjov2017-03-246-40/+67
| | | | | Fixed the dot operator when used within return types (see tgenericdotrettype) Fixed the matching of generic concepts aliases used with the implicit generics style
* new type traits: `GenericHead` and `StripGenericParams`Zahary Karadjov2017-03-242-3/+45
|
* further improvements to the error messages produced by conceptsZahary Karadjov2017-03-246-22/+25
|
* when displaying proc signatures, don't render the implicit generic paramsZahary Karadjov2017-03-241-8/+19
|
* proper error reporting for concepts and the introduction of the {.explain.} ↵Zahary Karadjov2017-03-2411-140/+207
| | | | pragma
* implement the special treatment of explicit type params in conceptsZahary Karadjov2017-03-244-2/+7
|
* infer static parameters even when more complicated arithmetic is involvedZahary Karadjov2017-03-249-46/+137
|
* support derived values in non-generic user type classesZahary Karadjov2017-03-246-45/+52
|
* kill the reportConceptFailures options as it will be replaced by the ↵Zahary Karadjov2017-03-244-12/+3
| | | | .explain. pragma
* support for inferring static[T] concept paramsZahary Karadjov2017-03-246-28/+62
|
* introduce tyInferred for the unbound concept type paramsZahary Karadjov2017-03-249-96/+126
| | | | | | | | | | | | | | | | | | * Why is tyInferred needed? The bindings in TCandidate are capable of inferring types within a single call expression. In concepts, we need to infer types in the same way, but across the whole body of the concept. Previously, once a concept type param was inferred, it was destructively mutated using t.assignType, but this proved to be problematic in the presence of overloads, because the bindings established while a non-matching overload is tested must be reverted/forgotten. tyInferred offers a non-destructive way to keep track of the inference progress. While introducing new types usually requires a lot of code paths in the compiler to updated, currently tyInferred is only a short-lived type within the concept body pass and it's unlikely to introduce breakage elsewhere in the compiler.
* support the full range of type modifiers when declaring concept vars and ↵Zahary Karadjov2017-03-245-17/+57
| | | | testing proc signatures
* support for matching generic types' procs in generic conceptsZahary Karadjov2017-03-243-10/+42
|
* support for accessing types and consts defined in concepts with the dot operatorZahary Karadjov2017-03-242-13/+49
|
* support for accessing the inferred concept type params with the dot operatorZahary Karadjov2017-03-245-6/+22
|
* concept type params inference working in basic examplesZahary Karadjov2017-03-244-2/+44
|
* fixes #5597; wrong eager template instantiation in generic context (#5601)Andreas Rumpf2017-03-241-3/+3
|
* fixes #5241, fixes #5411 inherit from specialized generic typeRel problem ↵andri lim2017-03-231-10/+24
| | | | (#5573)
* Fix typodef2017-03-231-1/+1
|
* fixes #5598Araq2017-03-231-0/+1
|
* fix empty link file list during external compilation (#5577)Emery Hemingway2017-03-231-8/+18
|
* Fix generic forward declarations; fixes #4104; fixes #4908 (#5566)zah2017-03-233-5/+12
|
* make semObjConstr robust for nimsuggestAraq2017-03-211-3/+3
|
* mark symbols in getAst context as usedAndreas Rumpf2017-03-201-1/+5
|
* revert getAst handling to not use overloading resolutionAndreas Rumpf2017-03-201-1/+18
|
* fixes a potential endless loopAndreas Rumpf2017-03-201-1/+1
|
* nimsuggest: prefixes of abbreviations don't countAndreas Rumpf2017-03-201-1/+5
|
* fix getTypeImpl for tyEnum (#5568)jcosborn2017-03-191-1/+3
| | | | | * fixed getTypeImpl for tyEnum * fixed getType for enum and updated release notes about change
* fix #5296 (#5565)zah2017-03-191-0/+3
|
* overloading resolution for getAst; breaking changeAraq2017-03-182-10/+17
|
* fixes #5228Andreas Rumpf2017-03-181-4/+17
|
* fixes #4756 (#5557)zah2017-03-171-2/+6
|
* Make DragonFlyBSD a first class BSD-like OS (#5548)Eugene Kabanov2017-03-163-5/+14
|
* fixes #5360, fixes #5238 (#5539); fixes type alias inequality for types ↵andri lim2017-03-161-4/+19
| | | | coming from templates/macros
* Fixes #5062 (#5527); JS: holes in enumsSilvio2017-03-152-11/+3
|
* fixes #5231 inheriting from partial specialized generic object (#5538)andri lim2017-03-151-9/+16
|
* fixes #5264 (#5520); inheriting from generic objectandri lim2017-03-141-2/+33
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-03-1416-156/+291
|\
| * nimsuggest: when invoked with a directory, detect the main nim file on its ownAndreas Rumpf2017-03-141-0/+17
| |
| * nimsuggest: suggest types in a type sectionAndreas Rumpf2017-03-143-3/+8
| |
| * nimsuggest: make tdot1 test case green againAndreas Rumpf2017-03-141-1/+1
| |
| * Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-03-1413-15/+64
| |\
| | * fix varargs forwarding for templates; fixes #5455 (#5505)zah2017-03-131-2/+2
| | | | | | | | | | | | | | | * fix varargs forwarding for templates; fixes #5455 * document the macros' varargs change in the news for 0.16.2
| | * Fixes #5167 and related problems (#5475)zah2017-03-1210-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit returns to a bit less strict checking of the number of macro arguments, because some old immediate macros rely on a behavior where even the arity of the macro is not being checked. It may be better if such macros are just declared to use varargs[expr], but this remains for another day.