[M3commit] [modula3/cm3] 7cb9d7: Fix p209: Open array initializer for fixed array ...

GitHub noreply at github.com
Tue Jan 26 22:23:32 CET 2016

  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 7cb9d7a3dda0484158928d22ebbdc7fd0ec13a0a
  Author: Rodney Bates <rodney.m.bates at acm.org>
  Date:   2016-01-26 (Tue, 26 Jan 2016)

  Changed paths:
    M m3-sys/m3front/src/exprs/ArrayExpr.m3
    M m3-sys/m3front/src/values/Variable.m3
    M m3-sys/m3tests/src/p2/p209/Main.m3
    M m3-sys/m3tests/src/p2/p209/stdout.pgm

  Log Message:
  Fix  p209: Open array initializer for fixed array global variable

Compiler was suffering a runtime error in CG when a global variable
of fixed array type has an initial value that is an open array
value constructor with matching number of elements.

Also add to p209, as was needed to test this fix.

More information about the M3commit mailing list