Commit Graph

3074 Commits

Author SHA1 Message Date
Andreas Rumpf
afb0d2e145 partial fix for #4623 2016-08-26 15:39:21 +02:00
Andreas Rumpf
da8f6e16cc fixes #4491 2016-08-26 15:19:32 +02:00
Andreas Rumpf
d3888577e9 fixes #3928 2016-08-26 15:15:18 +02:00
Andreas Rumpf
be4748eb57 do not crash on #3928 2016-08-26 14:57:59 +02:00
Andreas Rumpf
98859a7248 fixes #4292 2016-08-26 14:36:46 +02:00
Andreas Rumpf
1d1253c87f fixes #4253 2016-08-26 14:04:56 +02:00
Andreas Rumpf
4d4a993e7f fixes #2865 2016-08-26 13:51:58 +02:00
Andreas Rumpf
969981c1da fixes #3606 2016-08-26 13:32:52 +02:00
Andreas Rumpf
e16bd735c4 explicit side-effects override the inferred effect; refs #4659 2016-08-26 13:23:15 +02:00
Andreas Rumpf
89f3e21fc8 fixes #4658 2016-08-26 13:02:52 +02:00
Andreas Rumpf
10f445da89 Merge pull request #4592 from arnetheduck/compiler-cleanup
Compiler cleanup
2016-08-25 16:50:54 +02:00
Andreas Rumpf
d4dc091143 Merge pull request #4611 from jangko/vs2010_error_c2275
fixed #4459 -- VS2010 error C2275
2016-08-25 16:37:17 +02:00
Andreas Rumpf
56c31a51d0 Merge pull request #4633 from mbaulch/pickbestcand_faster_inlined
Optimise pickBestCandidate: reduce heap allocations.
2016-08-25 16:35:33 +02:00
Andreas Rumpf
f1e4d8ed74 side-effect computation now done in the proper pass; fixes #4254 2016-08-25 16:33:51 +02:00
Andreas Rumpf
84a09d2f5b minor things 2016-08-24 11:48:40 +02:00
Andreas Rumpf
18e37cad08 fixes #4653 2016-08-24 11:48:21 +02:00
Andreas Rumpf
636e74fe39 overloading resolution: scoping is considered after typing (needs to be documented) 2016-08-24 11:27:14 +02:00
Andreas Rumpf
200ccff015 fixes #4632 2016-08-23 17:51:26 +02:00
Andreas Rumpf
f439a2f25f fixes #4579 2016-08-23 10:13:37 +02:00
Andreas Rumpf
55e86184a5 fixes #4600 2016-08-23 01:29:30 +02:00
Andreas Rumpf
e9e413552a fixes #4619 2016-08-23 01:10:34 +02:00
Andreas Rumpf
9c9a7b6520 fixes #3221 2016-08-22 18:31:26 +02:00
Matthew Baulch
4e40d90f6f Add comments to clarify the roles of abstractX and typedescX types. 2016-08-21 14:13:42 +10:00
Matthew Baulch
b0c12a7dc4 Optimise pickBestCandidate: reduce heap allocations. 2016-08-21 12:41:55 +10:00
Jacek Sieka
618e264b58 remove TLoc.heapRoot 2016-08-17 18:58:35 +08:00
Jacek Sieka
4d558e2608 Merge remote-tracking branch 'origin/devel' into compiler-cleanup 2016-08-17 18:49:36 +08:00
andri lim
21120a3e6c fixed #4459 -- VS2010 error C2275 2016-08-13 20:26:25 +07:00
Andreas Rumpf
40de07f63c Merge pull request #4604 from mbaulch/fix3658
Fix #3658. Types derived from ordinals are ordinal. Code cleanup.
2016-08-11 15:05:49 +02:00
Matthew Baulch
674a1110f0 Require ordinal or set argument to system.ord 2016-08-11 21:13:18 +10:00
Matthew Baulch
8ebce3ce2b Distinct types derived from ordinal types are ordinal. 2016-08-11 21:11:06 +10:00
Matthew Baulch
623e0763c2 Tidy up isOrdinalType 2016-08-11 21:09:34 +10:00
Andreas Rumpf
dd84dc85d0 fixes #4593 2016-08-10 11:19:27 +02:00
Andreas Rumpf
57b8664a0c fixes #4589 2016-08-10 11:14:02 +02:00
Andreas Rumpf
25fd9e3c89 don't allow to pass a closure to spawn 2016-08-10 11:13:49 +02:00
Andreas Rumpf
5d05ee21c2 makes tests green again 2016-08-09 17:49:59 +02:00
Jacek Sieka
3cd4cf4320 remove unused stuff 2016-08-09 22:54:27 +08:00
Jacek Sieka
981a8950c6 remove keepAlive and friends 2016-08-09 22:17:05 +08:00
Andreas Rumpf
1a470d1818 fixes #2094 2016-08-09 15:12:30 +02:00
Andreas Rumpf
440ed8eb68 fixes #4551 2016-08-09 14:16:26 +02:00
Andreas Rumpf
f1092512e3 tiny style changes 2016-08-09 14:16:26 +02:00
Andreas Rumpf
1f34117c06 Merge pull request #4577 from oderwat/fix-referr-js
Fix using ptr to seq in js backend.
2016-08-08 20:11:00 +02:00
Andreas Rumpf
09f122f68c fixes #4528 2016-08-08 18:03:52 +02:00
Andreas Rumpf
ce4d9e40fe fixes #4582 2016-08-08 11:32:19 +02:00
Hans Raaf
bb683cb983 Fix using ptr to seq in js backend.
I suddenly got ReferenceError exceptions for some of the code which is
using etyBaseIndex ptr. Initialising the xxx_Idx part of the variable
fixes this problem.
2016-08-07 03:48:20 +02:00
Andreas Rumpf
7426e9c246 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-08-05 20:32:01 +02:00
Andreas Rumpf
8882b062e1 added selfExe and selfExec for NimScript support 2016-08-05 20:19:15 +02:00
Andreas Rumpf
df0baefb12 Merge pull request #4572 from oderwat/distinct-nil
Allowing `nil` for distinct types where the base type is nilable
2016-08-05 20:11:28 +02:00
Hans Raaf
e2e4df1702 Allowing nil for distinct types where the base type is nilable 2016-08-05 16:01:16 +02:00
kingofoz
d00a2536c4 fix #4568 2016-08-05 21:43:18 +08:00
Andreas Rumpf
9f0899da12 fixes a regression involving the .compile and .link pragmas 2016-08-05 15:14:08 +02:00