Explorar o código

Assignment of named empty string to ARRAY OF SHORTCHAR does not work. Refs: #128.
The compiler converts such a string assignment into s[0] := 0X.
The original object, i.e. the named string constant, was not cleared in this transformation
and was still used by the code generator with a value of obj.conval.intval = -1 (=DevCPM.ConstNotAlloc).

Signed-off-by: Josef Templ <josef.templ@gmail.com>

Josef Templ %!s(int64=8) %!d(string=hai) anos
pai
achega
8afde8223f
Modificáronse 1 ficheiros con 0 adicións e 0 borrados
  1. BIN=BIN
      Dev/Mod/CPB.odc

BIN=BIN
Dev/Mod/CPB.odc