Commit Graph

96 Commits

Author SHA1 Message Date
Andreas Rumpf
2d2b1a9d48 fixes a simple .borrow bug 2016-10-14 12:17:12 +02:00
Andreas Rumpf
3a5edd2c6c fixes #4671 2016-09-13 16:33:43 +02:00
Matthew Baulch
3fef725d92 pickBestCandidate: pre-calculate candidates when symbol table modified 2016-09-03 20:20:48 +10: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
Matthew Baulch
b0c12a7dc4 Optimise pickBestCandidate: reduce heap allocations. 2016-08-21 12:41:55 +10:00
Andreas Rumpf
0ed8d80521 fixes #4534 2016-08-01 01:32:19 +02:00
Andreas Rumpf
8f457f6ebb make tests green again 2016-07-29 23:51:01 +02:00
Andreas Rumpf
db56174a19 fixes #3548 2016-07-15 00:22:14 +02:00
Andreas Rumpf
995727ffd0 decent error message for 'var T' problems 2016-07-15 00:22:14 +02:00
Andreas Rumpf
4180f59b27 fixes #1713 2016-05-30 16:24:52 +02:00
Andreas Rumpf
e04f319540 fixes #4084 2016-04-29 22:30:00 +02:00
Andreas Rumpf
554a3e9335 better 'self' handling for overload resolution 2016-02-29 00:25:51 +01:00
Andreas Rumpf
7ae45ea420 'using' statement is obsolete 2016-02-28 14:48:15 +01:00
Andreas Rumpf
1afdefcbe9 added experimental .this pragma 2016-02-28 03:17:20 +01:00
Andreas Rumpf
ee6a46f264 some progress on #3832 2016-02-08 01:43:38 +01:00
Andreas Rumpf
a2db3c24d1 fixes #3799 2016-01-30 23:09:55 +01:00
Andreas Rumpf
c1627354d1 first implementation of the new lambda-lifting pass; barely anything works 2015-12-26 00:42:30 +01:00
Araq
9cc25f8b77 fixes #3452 2015-10-22 12:14:32 +02:00
Araq
c921f30b1d renamed inCompilesContext to compilesContextId; added test case for #3313 2015-09-18 11:29:43 +02:00
Araq
e01e0a4b40 next steps in binding [] properly 2015-09-13 22:42:21 +02:00
Araq
8ef66b973d first attempt to fix 'a[i]' handling in generics 2015-09-12 10:55:28 +02:00
Adam Strzelecki
d681812465 compiler: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:22 +02:00
Zahary Karadjov
02f97489b7 fix #1858 again; restores the support for static macro params 2015-08-02 23:58:22 +03:00
Dominik Picheta
1cf1610bdf Rename errUndeclaredProcedure to errUndeclaredRoutine. 2015-06-05 14:50:14 +01:00
Dominik Picheta
5d6f16cc1a Got rid of errUndeclaredProcedureField. 2015-06-04 16:39:38 +01:00
Dominik Picheta
22f6017ab8 Fixes #2584
Better compiler errors for accessing undeclared fields, calling undeclared
procedures and procedure fields.
2015-06-04 13:55:48 +01:00
Araq
2b80d75aa2 fixes #2420; negative indexing for slicing is obsolete (breaking change!) 2015-03-28 00:15:04 +01:00
Araq
1efb5174f2 fixes #2220; #2219; breaks #2022; for #2022 callsite needs to be used 2015-03-10 12:32:46 +01:00
Araq
cac259cdfb fixes #2229 2015-03-05 20:39:25 +01:00
Araq
83cab19c62 fixes #2252 2015-03-04 21:19:38 +01:00
Araq
566ee874cd minor cleanups 2015-03-01 13:52:00 +01:00
Araq
2ebeb0bd21 fixes #2169 2015-02-28 20:13:21 +01:00
Araq
540f66cb09 fixes #2167 2015-02-20 20:01:23 +01:00
Federico Ceratto
657dca5c3b Fix typos 2015-02-15 16:20:32 +00:00
Araq
a400e8f7f3 better error message for auto-deref 2015-02-04 00:52:44 +01:00
Araq
26b853923c nimsuggest: first version 2015-01-27 01:36:19 +01:00
Araq
603f36bc86 implements auto-deref for the first argument (requires .experimental) 2015-01-27 01:33:47 +01:00
Araq
20774ad43c fixes the integer conversion regressions 2015-01-13 20:56:31 +01:00
Dustin Lacewell
0619383f46 Revert 5e4ae8d 2015-01-07 14:07:06 -08:00
Zahary Karadjov
5e4ae8dbb4 fix #1858; Add support for generic templates and macros
Implementation notes:
Just after overload resolution, the resolved generic params will be added to the
call expression to be later processed in evalTemplate and evalMacroCall. These
procs have been modified to handle the increased number of parameters, but one
remaining issue is that immediate templates and macros don't go through the same
process. The next commit will outlaw the use of generic parameters with such macros.
2015-01-05 03:53:31 +02:00
Zahary Karadjov
05cbbac4e5 support for static params in the user defined type classes 2015-01-02 23:58:24 +02:00
Araq
4b61592602 minor bugfix for notFoundError 2014-10-30 22:36:23 +01:00
Araq
0e439ce367 implements #78 2014-10-26 22:48:54 +01:00
Araq
7a48942719 nicer error messages (untested) 2014-10-26 19:54:43 +01:00
Araq
c5dbcb548f improvements for nimfix 2014-09-10 09:48:18 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Dominik Picheta
d10cef11dc Fixes #710. 2014-08-16 00:46:14 +01:00
Araq
3c818c89be fixes #1285 2014-06-30 23:36:46 +02:00
Clay Sweetser
10e23e9159 Renamed considerAccents to considerQuotedIdent 2014-05-26 10:42:10 -04:00