Files
Nim/compiler
ringabout d136af0122 modernize lineinfos; it seems that array access hinders strict def analysis like field access (#22420)
modernize lineinfos; array access hinders strict def analysis like field access

A bug ?

```nim
proc computeNotesVerbosity(): array[0..3, TNoteKinds] =
  result[3] = {low(TNoteKind)..high(TNoteKind)} - {warnObservableStores, warnResultUsed, warnAnyEnumConv, warnBareExcept}
  result[2] = result[3] - {hintStackTrace, hintExtendedContext, hintDeclaredLoc, hintProcessingStmt}
  result[1] = result[2] - {warnProveField, warnProveIndex,
    warnGcUnsafe, hintPath, hintDependency, hintCodeBegin, hintCodeEnd,
    hintSource, hintGlobalVar, hintGCStats, hintMsgOrigin, hintPerformance}
  result[0] = result[1] - {hintSuccessX, hintSuccess, hintConf,
    hintProcessing, hintPattern, hintExecuting, hintLinking, hintCC}
```
2023-08-09 08:18:47 +08:00
..
2023-08-06 14:26:21 +02:00
2022-09-27 10:57:47 +02:00
2017-01-07 22:35:09 +01:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-05-06 21:27:28 +02:00
2023-08-06 14:26:21 +02:00
2021-01-12 09:36:51 +01:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2022-03-23 20:34:53 +01:00
2023-08-06 14:26:21 +02:00
2023-07-02 22:36:05 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02:00
2023-08-06 14:26:21 +02: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.