Stream: beginners

Topic: dead code


view this post on Zulip JesterXL (Dec 06 2022 at 13:41):

How do I tell the compiler to stop warning me about dead code? I'm developing, I'm not sure if I even _want_ to keep it; is there a flag or something? Otherwise I have to keep commenting things in/out over and over.

view this post on Zulip Ayaz Hafiz (Dec 06 2022 at 13:55):

You can’t, although if you use the latest nightly release you should be able to use “roc dev” and it will run if there are warnings (like dead code) but no errors


Last updated: Jul 05 2025 at 12:14 UTC