Fable: Make it possible to define conditional constants in Fable REPL

Created on 3 Oct 2018  路  1Comment  路  Source: fable-compiler/Fable

I just noticed the REPL doesn't define the DEBUG symbol so statements like assert false are erased in the generated code. @ncave Would it be possible to pass such symbols to checker.ParseAndCheckScript?

enhancement

Most helpful comment

@alfonsogarciacaro Yes, it's possible, I'll have to add it.

>All comments

@alfonsogarciacaro Yes, it's possible, I'll have to add it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

et1975 picture et1975  路  3Comments

krauthaufen picture krauthaufen  路  3Comments

alfonsogarciacaro picture alfonsogarciacaro  路  3Comments

ncave picture ncave  路  3Comments

MangelMaxime picture MangelMaxime  路  3Comments