This commit is contained in:
Mikhalkovich Stanislav 2019-06-25 12:02:09 +03:00
parent 5f15134dab
commit 356e185bef
3 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,6 @@
type int = integer;
begin
var f: int -> int -> int := i -> j -> i*j;
MatrGen(10,10,(i,j)->f(i)(j)).Println;
end.

View file

@ -10,7 +10,7 @@ CAN_NOT_GET_ADDRESS_FROM_EXPRESSION=Cannot get address of constant expression
EXPECTED_VARIABLE=Variable expected
CANNOT_DEREFER_THIS_EXPR_OF_NON_POINTER_TYPE=Cannot dereference an expression of non-pointer type
CONSTRUCTOR_NOT_FOUND=No constructor found
INVALID_CONSTRUCTOR_PARAMETERS_NUM=Invalid number of constructor parameters
INVALID_CONSTRUCTOR_PARAMETERS_NUM=Invalid number of parameters
NO_CONSTRUCTOR_WITH_SAME_PARAMETERS_NUM=No constructor with same parameters number
PARENT_TYPE_IS_SEALED{0}=Cannot derive from sealed type '{0}'
INVALID_ELEMENT_TYPE_FOR_TYPED_FILE=Typed file can not contain elements of this type

View file

@ -10,7 +10,7 @@ CAN_NOT_GET_ADDRESS_FROM_EXPRESSION=Нельзя получить адрес в
EXPECTED_VARIABLE=Ожидалось имя переменной
CANNOT_DEREFER_THIS_EXPR_OF_NON_POINTER_TYPE=Нельзя разыменовать это выражение, так как оно не является типизированным указателем
CONSTRUCTOR_NOT_FOUND=Ни один конструктор не найден
INVALID_CONSTRUCTOR_PARAMETERS_NUM=Неверное число параметров конструктора
INVALID_CONSTRUCTOR_PARAMETERS_NUM=Неверное число параметров
NO_CONSTRUCTOR_WITH_SAME_PARAMETERS_NUM=Нет конструктора с таким числом параметров
PARENT_TYPE_IS_SEALED{0}=Нельзя наследовать от типа {0}
INVALID_ELEMENT_TYPE_FOR_TYPED_FILE=Типизированый файл не может содержать элементы такого типа