e8e8359cdf
This CL introduces Fasta's first type inference rule, and hooks it up to all the necessary testing infrastructure. The rule is that a local variable whose initializer is an integer literal should have an inferred type of int. Only variables occurring at top level within a method are inferred (we don't yet recurse inside sub-blocks). Additional type inference rules will be added in follow-up CLs. R=ahe@google.com Review-Url: https://codereview.chromium.org/2828693003 .