about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2012-01-14rustc: Output a note about how to debug unexpected failuresBrian Anderson-0/+6
2012-01-14rustc: Fix testsBrian Anderson-4/+4
2012-01-14rustc: Run the compiler in a subtask and monitor the diagnosticsBrian Anderson-6/+65
Since we are no longer logging to the console it's possible for us to hit a plain-old-fail statement and not output anything. This adds a defensive mechanism that will monitor the emitted errors and compare them to the result of the compiler task. If the compiler fails without emitting an error it results in an ICE.
2012-01-14rustc: Extract the logic for generating an ICE messageBrian Anderson-2/+7
2012-01-14rustc: Rename mk_codemap_handler to mk_handlerBrian Anderson-4/+4
2012-01-14rustc: Rename emit_diagnostic to emitBrian Anderson-5/+5
2012-01-14rustc: Use the same diagnostic emmiter for both early errors and the sessionBrian Anderson-1/+2
This funnels all properly reported errors through a single closure. Yay.
2012-01-14rustc: Thread a diagnostic::emitter through driverBrian Anderson-16/+26
2012-01-14rustc: Pull some uses of early_error up into build_target_configBrian Anderson-13/+19
2012-01-14rustc: Rename diagnostic::diagnostictype to 'level'Brian Anderson-14/+14
2012-01-14rustc: Make it not an error when the source can't be loaded for highlightingBrian Anderson-2/+2
I plan to have a callback mechanism for reporting errors and it gets wierd when reporting errors while reporting an error.
2012-01-14rustc: Allow a custom diagnostic emitter when building the handlerBrian Anderson-12/+31
2012-01-14Fix up LLVM type stringification to correspond to Core.hJosh Matthews-12/+13
2012-01-14build: Build libraries in the bin directory on win32Brian Anderson-4/+14
2012-01-13rustc: Remove emit_fatal/error/warning/note functionsBrian Anderson-24/+12
2012-01-13rustc: Add a distinct fatal diagnostic levelBrian Anderson-7/+13
2012-01-13rustc: Rename the lexer's err message to fatal and make it failBrian Anderson-17/+12
2012-01-13rustc: Replace the lexer's error handling with diagnostic implBrian Anderson-11/+23
2012-01-13rustc: Replace parser's error handling with diagnostic implBrian Anderson-11/+17
2012-01-13rustc: Replace session's error handling with diagnostic implBrian Anderson-23/+21
2012-01-13rustc: Add diagnostic::handler iface and default implBrian Anderson-0/+77
This is for moving error handling logic out of the session
2012-01-13rustc: Stop exporting various things from driver::diagnosticBrian Anderson-3/+2
2012-01-13rustc: Extract driver::diagnostic from syntax::codemapBrian Anderson-146/+154
2012-01-13rustc: Some more codemap refactoringBrian Anderson-74/+67
2012-01-13rustc: Refactor codemap::emit_* functionsBrian Anderson-32/+33
A codemap is only needed when we have a span so put them both into the option.
2012-01-13Change builtin macro defs to use #macro()Graydon Hoare-4/+4
2012-01-13Undo over-enthusiastic obj system removal in debuginfo.Josh Matthews-0/+3
2012-01-13rustc: Turn logging off by defaultBrian Anderson-0/+3
2012-01-13llvm: Switch back to LLVM trunkBrian Anderson-2/+2
2012-01-13distinguish "any closure" and "stack closure" (block)Niko Matsakis-44/+70
2012-01-13make blocks fn& and fn stand for "any closure"Niko Matsakis-16/+22
2012-01-13make "native fn" the type for bare functions, remove fn exprsNiko Matsakis-5/+12
2012-01-13deprecate fn exprs and the fn() type, preferring fn@ and native fnNiko Matsakis-107/+115
2012-01-13Obj system? What obj system?Marijn Haverbeke-2020/+139
Removes the obj system from the compiler. Closes #1484
2012-01-13Remove all remaining uses of objs from the compilerMarijn Haverbeke-272/+271
2012-01-13Convert the objects used in the lexer and parser to records + implsMarijn Haverbeke-484/+435
2012-01-12Revert "build: Build libraries in the bin directory on win32"Brian Anderson-14/+4
This reverts commit 23e0d16b5fd259dc252b220777f164f1e2eb9c30.
2012-01-12Merge remote-tracking branch 'brson/win32'Brian Anderson-4/+14
2012-01-12Add type parameters when checking wildcard patternsTim Chevalier-1/+12
For some reason, wildcard patterns were never getting type parameter substitutions attached. This would cause an assertion failure when checking a wildcard pattern that matches against a tag with polymorphic type (not sure why this didn't come up before). Fixed it. (The diff and test case may be easier to understand than this note :P) Closes #1503.
2012-01-12build: Build libraries in the bin directory on win32Brian Anderson-4/+14
2012-01-12make parser disambiguate fn~ at top level correctlyNiko Matsakis-1/+12
2012-01-12add tydescs into shape, rewrite walk_fn_contents()Niko Matsakis-14/+5
2012-01-12free uniq data we encounter on the sweep, walk thru them otherwiseNiko Matsakis-5/+29
2012-01-12Make driver::session::session no longer an objectMarijn Haverbeke-206/+227
Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type).
2012-01-12Implement passing cast-to-vtable values as bounded paramsMarijn Haverbeke-76/+155
Closes #1492
2012-01-12Cleanups to previous commits for issue #1393.Kevin Atkinson-8/+10
2012-01-11rustc: Don't allow empty link_name when nolink attribute is presentBrian Anderson-9/+12
Closes #1326
2012-01-11Revert "build: Build libraries in the bin directory on win32"Brian Anderson-14/+4
This reverts commit c00ec5f9c936639ec2fd9291cd484afa56aa24c8.
2012-01-11build: Build libraries in the bin directory on win32Brian Anderson-4/+14
2012-01-11Fix dependency bug iface-did-of-impl resolvingMarijn Haverbeke-29/+11
By simply not resolving that def id until the typeck pass. Closes #1494