Commit Graph

11210 Commits

Author SHA1 Message Date
Fabian Keller
a6e0494a6f fixes #5966 2017-06-20 12:11:09 +02:00
Fabian Keller
62ffac25dc added test case for #1252 2017-06-20 11:53:32 +02:00
Zahary Karadjov
90e82f8ecf Fix #5084 2017-06-20 11:29:42 +02:00
Zahary Karadjov
7db883e4d3 make some tests green again 2017-06-20 11:29:42 +02:00
Zahary Karadjov
07d50cedf0 Fix #5983 2017-06-20 11:29:42 +02:00
Zahary Karadjov
21ce7b2af4 Fix #5888 2017-06-20 11:29:42 +02:00
Zahary Karadjov
a6006e56a7 Fix #4737 2017-06-20 11:29:42 +02:00
Zahary Karadjov
16eb4b1fee Fix #5127 2017-06-20 11:29:42 +02:00
Zahary Karadjov
8f4b374327 Fix #4020; Better handling of templates within concepts 2017-06-20 11:29:42 +02:00
Zahary Karadjov
b199c5af4e fix #5968 2017-06-20 11:29:42 +02:00
Zahary Karadjov
24966e006a fix #1082 2017-06-20 11:29:42 +02:00
Zahary Karadjov
36c4f0a89c close #1051 2017-06-20 11:29:42 +02:00
Zahary Karadjov
b101a59734 close #3152; closed via f663ca7 2017-06-20 11:29:42 +02:00
Zahary Karadjov
6f935598f4 close #3153 2017-06-20 11:29:42 +02:00
Zahary Karadjov
367d232351 fix #1017; fix #3309 2017-06-20 11:29:42 +02:00
Zahary Karadjov
0149e418be close #3784 2017-06-20 11:29:42 +02:00
Zahary Karadjov
92ee2ee4ce close #4524 2017-06-20 11:29:42 +02:00
Zahary Karadjov
ba61e7e3ac fix #2730; fix #4880 2017-06-20 11:29:42 +02:00
Zahary Karadjov
9c6fe59b55 fix #5017; fix #5893 2017-06-20 11:29:42 +02:00
Zahary Karadjov
491162d3c8 close #5106 2017-06-20 11:29:42 +02:00
Zahary Karadjov
9edf66df85 close #5756 2017-06-20 11:29:42 +02:00
Zahary Karadjov
f713e730c8 fix #5864 2017-06-20 11:29:42 +02:00
Zahary Karadjov
dea6d8dd94 add a useful helper for debugging typeRel problems 2017-06-20 11:29:42 +02:00
Zahary Karadjov
268b918150 Fix thardforward 2017-06-20 11:29:42 +02:00
Zahary Karadjov
f0999de9dc Fix #5962
During the instantiation of a generic type A, some other generic
type B may be instantiated multiple times with different parameters.
We can think about each instantiation as a function call that should
temporary bind the parameter names to concrete types. The problem
with the existing implementation in semtypinst was that it was
performing this binding within a shared global table. In this sense,
it was executing the code as a programming language featuring only
global variables. In such a language, re-entrant functions cannot be
defined properly and hence this was leading to problems with similar
types. The solution is simple - just like we need to introduce stack
frames to handle re-entrant functions, we introduce a stack of type
bindings that are pushed and popped during the generic instantiations.
2017-06-20 11:29:42 +02:00
Zahary Karadjov
cd02561368 introduce a pre-processing pass for the concept bodies
fixes #4982
fixes #3805

close #3414
2017-06-20 11:29:42 +02:00
Zahary Karadjov
30ccadfe4c fix #5890 2017-06-20 11:29:42 +02:00
Andreas Rumpf
4f2b69d676 Merge branch 'yglukhov-fix-5995' into devel 2017-06-20 10:47:41 +02:00
Andreas Rumpf
1c8a50797a Merge branch 'fix-5995' of https://github.com/yglukhov/Nim into yglukhov-fix-5995 2017-06-20 10:44:03 +02:00
Andreas Rumpf
0fbca73e71 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-06-19 17:43:18 +02:00
Andreas Rumpf
8db37455dd fixes withRegion for --gc:stack 2017-06-19 17:43:12 +02:00
Dominik Picheta
9d4aa03d7a Merge pull request #5998 from TiberiumN/patch-2
Add intel compiler support to times module
2017-06-17 23:34:03 +01:00
Daniil Yarancev
3b0dba7a75 Update times.nim 2017-06-18 01:28:48 +03:00
Yuriy Glukhov
58eae1171d Fixes #5995 2017-06-18 00:57:05 +03:00
Araq
d947753523 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-06-16 01:48:35 +02:00
Araq
c3b0eb5df7 added logic to the M&S GC to detect logical leaks 2017-06-16 01:48:23 +02:00
John Novak
17b55f9b29 Add sgn() function to the math module (#5971) 2017-06-15 21:00:18 +02:00
Markus F.X.J. Oberhumer
a0f39e0ab4 Ascii character code 127 (DEL) is not printable and must be quoted. (#5984)
This is a follow-up to #5823.
2017-06-15 20:42:23 +02:00
Dominik Picheta
6ca9ad6608 Merge pull request #5982 from daneb/devel
Working example in comment to resolve #5863
2017-06-14 14:19:29 +01:00
daneb
0a022664d5 Minor formatting 2017-06-13 21:45:18 +02:00
daneb
64cbcec54d Working example to resolve #5863 2017-06-13 21:08:04 +02:00
Dominik Picheta
d3e93a1da9 Merge pull request #5981 from ftsf/patch-1
Fix `deepCopy` incorrect argument description.
2017-06-13 14:27:35 +01:00
impbox
1ddf10b23b Create system.nim
Fix `deepCopy` incorrect argument description.
2017-06-13 23:21:38 +10:00
Andreas Rumpf
f540a3683f Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-06-13 13:51:41 +02:00
Andreas Rumpf
91a3cb67ec fixes #5824 2017-06-13 13:51:33 +02:00
Varriount
32ced5d9e2 Merge pull request #5941 from tulayang/devel
Fix bad tail for status response
2017-06-13 04:17:21 -04:00
Markus F.X.J. Oberhumer
963679389c cgen: #undef some more predefined symbols. (#5831)
This is a followup to issue #5171.
2017-06-13 10:12:23 +02:00
Varriount
a939a4b3a4 Merge pull request #5952 from Parashurama/fix_parseopt
Fix parseopt custom arguments
2017-06-13 04:11:58 -04:00
Araq
0f3e1f17e9 fixes #5959 2017-06-09 14:14:47 +02:00
Araq
72115c2b09 fixes #5969 2017-06-09 13:39:42 +02:00