Use precision in mono/ir to determine which number to generate

This commit is contained in:
Jared Ramirez 2020-12-29 09:33:55 -06:00
parent 48f964adf4
commit 791a0e9404
8 changed files with 183 additions and 61 deletions

View file

@ -652,9 +652,7 @@ impl<'a> LayoutCache<'a> {
seen: MutSet::default(),
};
dbg!(&var);
let result = Layout::from_var(&mut env, var);
dbg!(&result);
// Don't actually cache. The layout cache is very hard to get right in the presence
// of specialization, it's turned of for now so an invalid cache is never the cause