#30 error in example in step 21/24

Cerrada
aberta %!s(int64=8) %!d(string=hai) anos por nero · 0 comentarios

Originally at 2016-01-30T17:07:56Z by Michal Bernhard closed at 2016-01-30T20:32:58Z

http://amber-lang.net/learn.html in step 21/24 there is:

Array new
    add: 'Some text';
    add: 3.;
    yourself.

but it's evaluation ends with an error. There is erroneous . (dot) after 3 in third row. It should be:

Array new
    add: 'Some text';
    add: 3;
    yourself.

Originally at 2016-01-30T17:07:56Z by Michal Bernhard closed at 2016-01-30T20:32:58Z http://amber-lang.net/learn.html in step **21/24** there is: ``` Array new add: 'Some text'; add: 3.; yourself. ``` but it's evaluation ends with an error. There is erroneous **.** (dot) after 3 in third row. It should be: ``` Array new add: 'Some text'; add: 3; yourself. ```
Accede para unirte á conversa.
Sen etiquetas
Sen fito
Sen asignado
1 participantes
Cargando...
Cancelar
Gardar
Aínda non existe contido.