Free Pascal Compiler version 3.0.0 [2015/11/16] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(31,14) Error: Incompatible types: got "LongInt" expected "Array[0..2000001] Of Array[0..1] Of SmallInt"
foo.pas(38,5) Error: Operator is not overloaded: "Array[0..2000001] Of Array[0..1] Of SmallInt" = "ShortInt"
foo.pas(39,13) Error: Can't read or write variables of this type
foo.pas(43,4) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode