2
Я пытаюсь составить список в Genie, и это, похоже, не работает. Компиляция кода:Попытка сделать список: имя `Gee 'не существует
[indent=2]
init
var l = new list of string
производит эти ошибки:
[email protected]:~/Documents$ valac helloworld.gs helloworld.gs:2.10-2.24: error: The name `Gee' does not exist in the context of `main'
var l = new list of int
^^^^^^^^^^^^^^^
helloworld.gs:2.8-2.24: error: var declaration not allowed with non-typed initializer
var l = new list of int
^^^^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 0 warning(s)
Я установил libgee2 (через Суда APT-получить установку libgee2) и ничего не меняется. Есть идеи?