1
Fork 0

remove StaticInliner and NaN checking

NaN checking was a lint for a deprecated feature. It can go away.
This commit is contained in:
Ariel Ben-Yehuda 2016-10-03 21:39:21 +03:00
parent 37418b850f
commit 76fb7d90ec
8 changed files with 185 additions and 275 deletions

View file

@ -19,9 +19,7 @@ use Cake::*;
const BOO: (Cake, Cake) = (Marmor, BlackForest);
//~^ ERROR: constant evaluation error [E0080]
//~| unimplemented constant expression: enum variants
//~^^^ ERROR: constant evaluation error [E0080]
//~| unimplemented constant expression: enum variants
const FOO: Cake = BOO.1; //~ NOTE for expression here
const FOO: Cake = BOO.1;
const fn foo() -> Cake {
Marmor