mani-language / Mani

Máni ... an awesome, super simple programming language!
https://mani-language.github.io/
Mozilla Public License 2.0
28 stars 7 forks source link

Can't assign string variables after assigning a maps variable #47

Closed TheOnlyArtz closed 5 years ago

TheOnlyArtz commented 5 years ago

Basically:

#"maps";
load "socket";

let test = newSocket({});
let options = {"hostname": ""}

say test;

This one work ^ This one does not!

#"maps";
load "socket";

let options = {"hostname": ""}
let test = newSocket(options);

say test;

Throws `undefined variable 'test'

TheOnlyArtz commented 5 years ago

I've forgotten the semi-colon, sorry!