Files
Nim/compiler
Vindaar 898a4bc4fa fix #8129 by calling semExpr in semIs if node is strLit (#8130)
* call `semExpr` in `semIs` if node is `strLit`, fixes #8129

In case the second son of the node in `semIs` is of kind `strLit`, we
now call `semExpr` to set the `typ` field of that node.

Also removes the `t2 != tyTypeDesc` check in `isOpImpl`, since the
kind of `n[2]` is already assertet with the `internalAssert`.

* reintroduce check for `t2.kind != tyTypeDesc` to fix test case

The `internalAssert` in the `isOpImpl` doesn't check
`n.sons[2].typ.kind` as I previously read, but rather
`n.sons[2].kind`. Therefore the check for `tyTypeDesc` here is
useful. Otherwise the last test case in `isopr.nim` fails.

Also removes the flag `efDetermineType` from the call to `semExpr`.
2018-06-29 16:34:47 +02:00
..
2018-05-12 11:58:44 +02:00
2018-06-03 20:15:37 +02:00
2017-10-29 08:37:13 +01:00
2018-06-08 19:50:36 +02:00
2018-06-08 19:50:36 +02:00
2018-06-08 19:50:36 +02:00
2017-01-07 22:35:09 +01:00
2018-06-27 12:35:09 +02:00
2017-10-29 08:37:13 +01:00
2018-06-12 00:20:08 +01:00
2018-06-27 12:35:09 +02:00
2017-10-15 20:55:38 +02:00
2018-06-26 01:42:36 +02:00
2018-06-11 17:08:25 +02:00
2018-06-08 19:50:36 +02:00
2018-06-11 01:23:14 +02:00
2018-06-27 12:35:09 +02:00
2018-05-11 13:07:16 +02:00
2018-05-11 13:07:16 +02:00
2018-06-12 09:17:24 +01:00
2018-06-27 12:35:09 +02:00
2018-05-18 20:53:41 +02:00
2014-08-28 09:38:14 +02:00
2018-06-24 15:13:34 +02:00
2018-05-12 11:58:44 +02:00
2018-06-27 21:41:40 +02:00
2018-06-16 16:46:32 +03:00
2018-05-27 15:22:17 +02:00
2015-11-03 14:52:36 +01:00
2018-05-11 15:01:28 +02:00
2018-06-29 16:00:53 +02:00
2018-06-26 21:25:27 +02:00
2018-06-13 15:39:45 +03:00

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.