Commit Graph

42 Commits

Author SHA1 Message Date
Clyybber
1b093d7ec7 Fix #14911 (#14922) [backport]
* Fix #14911

* Add testcase

* Fix test

(cherry picked from commit 5bd2da3f64)
2020-07-21 15:40:24 +02:00
Nindaleth
34dbc5699e fix several typos in documentation and comments (#12553) 2019-10-30 09:08:45 +01:00
Federico Ceratto
39290cf88c Fix spellings (#12277) [backport] 2019-09-27 07:02:54 +02:00
Arne Döring
2339542832 Tuple error message (#11141); fixes #3211 2019-05-15 17:59:06 +02:00
Andreas Rumpf
cd79c6f532 Merge pull request #11159 from JasperJenkins/const-named-tuple-unpack
Const named tuple unpacking
2019-05-08 17:50:41 +02:00
nc-x
e42c304e4a Fix loop tuple unpacking in templates (#11174)
* Fix loop tuple unpacking in templates

* Add test
2019-05-05 12:22:41 +02:00
Jasper Jenkins
0add3a6dc0 enable t9177. 2019-05-01 22:37:38 -07:00
Jasper Jenkins
8a6b416c28 const named tuple unpacking 2019-05-01 22:18:45 -07:00
deech
68a82f100e Fixes #10727. (#10728) 2019-02-25 11:21:14 +01:00
Neelesh Chandola
9884129058 Tuple unpacking now works for for vars (#10152)
* Tuple unpacking now works for `for` vars
* Give error if length of tuple vars != length of tuple
* Fix error message showing wrong tuple length
* unpacking now works now for mutable items
* Update changelog
2019-02-23 14:01:34 +01:00
Andreas Rumpf
444f2231c9 make tests green again 2019-02-08 16:54:12 +01:00
LemonBoy
aa6e40abe6 Fix wrong result in tuple assignment (#9340)
Fixes #9177
2019-02-08 12:24:03 +01:00
Miran
5345c5b130 remove deprecated modules (#10215)
* removed from `compiler`:
    * lists (deprecated 2 years ago)

* removed from `lib` (all deprecated 3 years ago):
    * ssl
    * matchers
    * httpserver

* removed from `lib/deprecated`:
    * unsigned
    * actors (and three accompanying tests)
    * parseurl

* moved to `lib/deprecated`:
    * securehash (the reason for not directly removing - it was deprecated (only) one year ago)
2019-01-07 10:37:49 +01:00
ee7
cc4720fac1 Const tuple unpacking: add tests (#10100) 2018-12-27 22:40:40 +01:00
Arne Döring
a5ecbf823f lots of small changes 2018-12-11 21:23:22 +01:00
Arne Döring
1105d03644 require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
Miran
66a76d3165 Merge tests into a larger file (part 8 of ∞) (#9583)
* merge tuple tests

* merge trmacros tests

* merge template tests
2018-11-06 18:33:58 +01:00
Araq
420ed0596b fixes more nil handling regressions 2018-08-13 17:27:44 +02:00
Arne Döring
efae366857 rename SomeReal to SomeFloat (#7617)
* rename SomeReal to SomeFloat
* added changelog entry
2018-04-15 19:59:11 +02:00
Andreas Rumpf
47335aab41 introduce nkTupleConstr AST node for unary tuple construction; breaking change 2018-04-13 17:45:58 +02:00
Araq
be87fe9176 make tests green again 2017-12-15 13:24:47 +01:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Andreas Rumpf
920888f382 fixes tuple unpacking regression 2017-04-26 11:10:50 +02:00
cooldome
c6a8bd264e Fix for #5695 make subscript operator overloadable for tuples (#5749) 2017-04-24 20:17:06 +02:00
Andreas Rumpf
471672fecc fix: generic tuples instantiations were cached incorrectly 2016-07-28 20:23:24 +02:00
Matthew Baulch
915185dd11 Handle tuples with unnamed fields, symbols, and more. Less duplication. 2016-07-15 20:36:11 +10:00
Matthew Baulch
de41649b0e Use target field types in tuple conversions. 2016-07-14 20:51:40 +10:00
Andreas Rumpf
07d7d35d99 fixes #3579 2016-06-05 18:50:52 +02:00
Federico Ceratto
d9cb85c2d8 Spellcheck 2016-02-29 11:25:51 +00:00
Araq
bfd2fd67f9 tuple unpacking works in a non-var/let context 2015-08-21 21:34:14 +02:00
Dominik Picheta
ad6ad5d8d0 s/procedure/routine/ in tests. 2015-06-05 14:53:49 +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
0e1167d64b made test green 2015-05-03 01:08:53 +02:00
Araq
6d05ae26e6 fixes regression caused by code cleanups 2015-04-29 22:24:50 +02:00
Joseph Turner
e336da9dd9 Adds test file, for bug #1986 2015-04-09 05:00:11 +01:00
Araq
0591c68aaf fixes #2369 2015-03-21 20:38:27 +01:00
Araq
df2fdaf3c5 fixes #2121 2015-02-14 14:45:49 +01:00
Araq
8373357955 typo; last commit fixes #1910 2015-01-18 02:39:00 +01:00
Araq
abb738146a revert to old behaviour: tuple field names are not ignored anymore; fixes #1920 2015-01-18 02:33:44 +01:00
Araq
c0cc62c6b1 tuple field names are ignored 2014-12-23 17:54:22 +01:00
Araq
20b5f31c03 new tester; all tests categorized 2014-01-13 02:10:03 +01:00