Nim/tests/statictypes
Saem Ghani 72b89eff82
semLambda removed, semProcAux reworked (#17379)
* simplified proc-like name ident to symbol code

* wip - reworking generic param sem

* wip - closer to removing nkEmpty generic params

* it's hacky but tests pass

* slowly tweaking semProcAux to take on semLambda

* fix pragma superset check proto vs current

* Set the symbol owner earlier

* partial progress reworking proto

found bug where default values between forward and impl lead to overload
resolution issues.

* simplified pragma handling and callConv checks

Co-authored-by: Clyybber <Clyybber@users.noreply.github.com>

* partially working

* cgexprs issue

* It works!

* comment clean-up

* clean-up asserts, comments, and other bits

* add isGenericParams, inline isGeneric queries

* seeing if this is sufficiently consistent
* can use this approach or continue it in a further PR

* commentary about nullary generics and clean-ups

* fixed a mistake in PNode isGenericRoutine

* Some small cleanups

* Small cleanup

* for func lambdas ensure we use lambda pragmas

* add some basic compileTime func tests

* [ci skip] remove comments

Co-authored-by: Clyybber <Clyybber@users.noreply.github.com>
Co-authored-by: Clyybber <darkmine956@gmail.com>
2021-03-17 19:51:50 +01:00
..
t3784.nim close #3784 2017-06-20 11:29:42 +02:00
t9255.nim fix #12864 static params were mutating arg types during sigmatch; fix #12713 ; refs #13529 (#13976) 2020-04-14 15:00:02 +02:00
tcryptodigest.nim Static[T] fixes (#7333) 2018-03-24 15:28:09 +01:00
texplicitprocparams.nim close #1051 2017-06-20 11:29:42 +02:00
tpassthruarith.nim make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151) 2020-11-28 09:09:31 +01:00
tstackmatrix.nim fixes #6843 2018-04-06 13:10:22 +02:00
tstaticimportcpp.nim Fix template codegen with static parameters (#8110) 2018-06-27 22:46:46 +02:00
tstatictypes.nim semLambda removed, semProcAux reworked (#17379) 2021-03-17 19:51:50 +01:00