- 18 5月, 2011 6 次提交
-
-
由 Eric Holk 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
rustc: Make return value checking warnings a little prettier. Also introduce a new "note" diagnostic level.
-
由 Patrick Walton 提交于
-
由 Marijn Haverbeke 提交于
This only shaves a measly 19k off the rustc binary... but hey, every little thing helps.
-
由 Marijn Haverbeke 提交于
Except for _task, which is still a keyword.
-
- 17 5月, 2011 33 次提交
-
-
由 Graydon Hoare 提交于
-
由 Paul Stansifer 提交于
-
由 Marijn Haverbeke 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
Blocks return in a copy of the result of their ending expression, not the direct result of the ending expression, as that may be a local variable which gets zeroed by drop_slot.
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
Conflicts: src/comp/middle/trans.rs
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
get_os and get_arch were failing to return a value in the error case; they were also assuming that strings are indexed from 1. No idea how they ever worked, but anyway, fixed.
-
由 Tim Chevalier 提交于
Two tests that the typechecker correctly unifies type arguments in patterns with their expected tag types
-
由 Tim Chevalier 提交于
* Reorganized typestate into several modules. * Made typestate check that any function with a non-nil return type returns a value. For now, the check is a warning and not an error (see next item). * Added a "bot" type (prettyprinted as _|_), for constructs like be, ret, break, cont, and fail that don't locally return a value that can be inspected. "bot" is distinct from "nil". There is no concrete syntax for _|_, while the concrete syntax for the nil type is (). * Added support to the parser for a ! annotation on functions whose result type is _|_. Such a function is required to have either a fail or a call to another ! function that is reached in all control flow paths. The point of this annotation is to mark functions like unimpl() and span_err(), so that an alt with a call to err() in one case isn't a false positive for the return-value checker. I haven't actually annotated anything with it yet. * Random bugfixes: * * Fixed bug in trans::trans_binary that was throwing away the cleanups for nested subexpressions of an and or or (tests: box-inside-if and box-inside-if2). ** In typeck, unify the expected type arguments of a tag with the actual specified arguments.
-
由 Tim Chevalier 提交于
Noticed that metadata::Encode::enc_sty didn't have a case for ty_task, so I added one (though this wasn't causing the problem I was seeing...
-
由 Tim Chevalier 提交于
-
由 Tim Chevalier 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
-
由 Patrick Walton 提交于
-
由 Kelly Wilson 提交于
-
由 Kelly Wilson 提交于
Add automatic exe generation capabilities. Add --bitcode flag to generate only an LLVM bitcode file.
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
- 16 5月, 2011 1 次提交
-
-
由 Brian Anderson 提交于
The verifier was not liking this when generating unoptimized bitcode. Per LLVM docs it is not valid for function declarations to be marked internal, but their implementations may be.
-