Protean-Labs / mesh

The Mesh Engine that implements the Mesh Language, a computational language for web3.
Apache License 2.0
1 stars 0 forks source link

Declaring a tuple that contains a binding doesn't evaluate #85

Open ThierryBleau opened 3 years ago

ThierryBleau commented 3 years ago
(
    x => x,
    let a = 1
);

Runs forever

Should return

(
  closure,
  ()
)
cvauclair commented 3 years ago

@ThierryBleau Note that "running forever" is not really the "true" observed symptom (in majority of cases). What happens is that the Mesh kernel crashes and the Notebook client ends up waiting for a response that never comes. It is not the case that the actual evaluation is taking forever.

Edit: I mention this because otherwise it might lead people to think that the Mesh Engine is hanging (which might point to connection or deadlock bugs) whereas it is actually not.