summary refs log tree commit diff stats
path: root/compiler/sigmatch.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #13378 [backport] (#13392)Andreas Rumpf2020-02-111-0/+2
|
* fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) ↵Timothee Cour2020-02-071-1/+2
| | | | [backport]
* fix range[enum] type conversion (#13204) [backport]Jasper Jenkins2020-01-201-2/+3
|
* make case-object transitions explicit, make unknownLineInfo a const, replace ↵Jasper Jenkins2020-01-171-7/+7
| | | | a few magic numbers with consts (#13170)
* fixes #12964 (#13027)Andreas Rumpf2020-01-041-2/+2
|
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-213/+206
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* remove unused importsnarimiran2019-11-061-3/+0
|
* [backport] fix #12528, fix #12525: incorrect generic type resolution for ↵Andreas Rumpf2019-10-281-7/+15
| | | | | | default values (#12538)
* refactoring: use the new strings and seqs when optSeqDestructors is activeAraq2019-10-201-5/+0
|
* Small ast.nim cleanup (#12156)Clyybber2019-09-091-19/+19
| | | | | * Remove sonsLen * Use Indexable
* fixes #12020 (#12106)Andreas Rumpf2019-09-021-1/+1
|
* improvement for 'unused import' warningsAraq2019-09-021-0/+1
|
* weaking unsigned/signed indexing requirements in order to not break too much ↵Araq2019-09-021-5/+5
| | | | existing code
* Fix int literals and range interaction (#11197)Oscar Nihlgård2019-08-311-9/+11
| | | | | | | | * Fix int literals and range interaction * Fix test * remove float range fix; update changelog
* Fix several float range issues (supersedes #11905) (#12067)Andreas Rumpf2019-08-271-3/+4
|\ | | | | | | | | | | * Fix several float range issues * address the comments
| * Fix several float range issuesOscar Nihlgård2019-08-271-3/+4
| |
* | Fix to int to biggest int (#12066)Arne Döring2019-08-271-1/+1
|/ | | | | * fix to(Biggest)Int * kill toFloat magics as well
* fixes 9195 (#12055)Andreas Rumpf2019-08-271-2/+6
|
* [refactoring] compiler: simplified markUsedAndreas Rumpf2019-08-081-3/+3
|
* fix crash on sigmatch (#11913)Timothee Cour2019-08-081-3/+3
|
* delete expensive call (#11909) [refactoring]Arne Döring2019-08-081-1/+1
|
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-5/+5
| | | | * fixes #11847
* Allow typeof(nil) as generic parameter (#11869)Oscar Nihlgård2019-08-031-2/+0
|
* fix #11812 (#11829)Arne Döring2019-07-271-1/+1
| | | | | | * fixes #11812 * fixes #10899 * fixes #11367
* Merge branch 'devel' into araq-detect-unused-importsAndreas Rumpf2019-07-181-33/+55
|\
| * [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-1/+1
| |
| * [refactoring] don't use 'defer'Andreas Rumpf2019-07-171-13/+18
| |
| * Merge pull request #11680 from timotheecour/pr_fix_sigmatch_errmsgAndreas Rumpf2019-07-171-20/+37
| |\ | | | | | | fixes #8305; fixes #7808; fixes #10285; fixes #11061 + other bugs with type mismatch error msgs
| | * fix #8305 #7808 #10285 #11061 + other bugs with type mismatch error msgsTimothee Cour2019-07-081-20/+37
| | |
* | | [feature] detect unused importsAraq2019-07-171-3/+3
|/ /
* | 'nim check' stability improvementsAraq2019-07-141-1/+2
| |
* | fixes #11715 (#11721)Andreas Rumpf2019-07-131-1/+1
| |
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-2/+2
| | | | | | | | --styleCheck:error
* | newruntime: 'owned distinct' is a valid construct (required by async)Araq2019-07-091-0/+1
|/
* newruntime for async (#11650)Andreas Rumpf2019-07-051-1/+5
| | | | | | | * fixes overloading resolution for passing owned(Future[string]) to Future[T] * WIP: make --newruntime work with .async * memtracker: make it compile again * make Nimble compile again
* sigmatch: use boolean algebraAndreas Rumpf2019-06-021-1/+1
|
* fixes #11375 (#11376)Andreas Rumpf2019-06-021-9/+9
|
* fixes #11057 (#11345)Andreas Rumpf2019-05-281-0/+6
|
* fixes #11257Araq2019-05-241-4/+11
|
* fixes #8568 (#11303)Andreas Rumpf2019-05-221-4/+7
| | | | | | * fixes #8568 * fixes regression
* fixes subtype relation regressionAraq2019-05-221-4/+20
|
* make bootstrapping work with older NimsAraq2019-05-221-2/+1
|
* fixes #11239Araq2019-05-221-52/+37
|
* fixes #6732 (#11255)Andreas Rumpf2019-05-151-1/+12
|
* rename tyExpr/tyStmt to tyUntyped/tyTyped (#11227)Arne Döring2019-05-111-11/+11
|
* Replace countup(x, y-1) with x ..< yClyybber2019-05-071-7/+7
|
* Fix varargs int32 (#11054)Arne Döring2019-04-181-5/+12
| | | | | * fixes #10999 * adds a test for #10999
* sigmatch: ensure 'owned proc' works with system.isNilAraq2019-04-111-1/+1
|
* Tighten the conversion from tyRange to scalar types (#10495)LemonBoy2019-02-231-6/+7
| | | | | | | | | * Tighten the conversion from tyRange to scalar types. Introduce the `isIntConv` rule for unsigned types. Do not allow mixed-signedness conversions between ranges and scalar types. * More json adjustments
* first steps in implementing 'owned' pointers; undocumented, do not useAndreas Rumpf2019-02-231-7/+23
|