Files
Nim/compiler
Lancer11211 efd5c571bf .forbids pragma: defining forbidden tags (#20050)
* .forbids pragma: defining illegal effects for proc types

This patch intends to define the opposite of the .tags pragma: a way to define effects which are not allowed in a proc.

* updated documentation and changelogs for the forbids pragma

* renamed notTagEffects to forbiddenEffects

* corrected issues of forbids pragma

the forbids pragma didn't handle simple restrictions properly and it also had issues with subtyping

* removed incorrect character from changelog

* added test to cover the interaction of methods and the forbids pragma

* covering the interaction of the tags and forbids pragmas

* updated manual about the forbids pragma

* removed useless statement

* corrected the subtyping of proc types using the forbids pragma

* updated manual for the forbids pragma

* updated documentations for forbids pragma

* updated nim docs

* updated docs with rsttester.nim

* regenerated documentation

* updated rst docs

* Update changelog.md

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>

* updated changelog

* corrected typo

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
2022-07-26 07:40:49 +02:00
..
2021-01-07 20:26:40 +01:00
2022-03-20 14:02:44 +01:00
2021-03-19 16:53:38 +01:00
2022-06-10 20:32:27 +02:00
2021-11-02 16:30:59 +01:00
2017-01-07 22:35:09 +01:00
2022-03-23 20:34:53 +01:00
2019-11-28 17:13:04 +01:00
2022-03-23 20:34:53 +01:00
2021-05-20 15:48:46 +02:00
2021-01-12 09:36:51 +01:00
2022-03-23 20:34:53 +01:00
2019-09-27 07:02:54 +02:00
2022-01-04 11:10:46 +01:00
2022-07-15 19:56:05 +02:00
2021-01-07 20:26:40 +01:00
2021-04-07 19:54:28 +02:00
2022-07-15 12:37:08 +02:00
2020-11-10 21:53:25 +01:00

Nim Compiler

  • This directory contains the Nim compiler written in Nim.
  • Note that this code has been translated from a bootstrapping version written in Pascal.
  • So the code is not a poster child of good Nim code.

See Internals of the Nim Compiler for more information.