c3-web icon indicating copy to clipboard operation
c3-web copied to clipboard

Error in pure contract example?

Open chipshort opened this issue 1 year ago • 6 comments

This line here looks like it should be a call to foo() instead. There is noSecretFunc defined anywhere.

chipshort avatar Jul 30 '24 09:07 chipshort

Yes, thank you, I'll fix it.

lerno avatar Jul 30 '24 11:07 lerno

Wow, it looks really broken.

lerno avatar Jul 30 '24 11:07 lerno

Does it look better now?

lerno avatar Jul 30 '24 11:07 lerno

Now both examples under "Pure in detail" look the same except that one claims "The compiler cannot reason about this!" while the other claims it throws an error. Which one is it?

chipshort avatar Jul 30 '24 15:07 chipshort

Yeah, I also just noticed that both examples are the same except for the comment on line 15.

corsinmusic avatar Jan 19 '25 10:01 corsinmusic

Updated again...

lerno avatar May 15 '25 20:05 lerno