Patrick Walton
|
db955d33b7
|
rustboot: Say exactly which name was unbound when reporting unbound name errors
|
2010-11-03 18:42:35 -07:00 |
|
Graydon Hoare
|
1e22a55ff2
|
Code sketch and comment notes on textual crate signatures.
|
2010-11-03 09:50:25 -07:00 |
|
Graydon Hoare
|
7abf6eb7c6
|
Shift obj, type, param decls to have strata rather than effects.
|
2010-11-02 17:20:57 -07:00 |
|
Graydon Hoare
|
7db115834f
|
Split out stratum-checking pass, implement more-strict (overly aggressive) impure-effect checking.
|
2010-11-02 15:24:46 -07:00 |
|
Graydon Hoare
|
da13c508d8
|
First pass on splitting stratum and opacity off of effects. WIP.
|
2010-11-02 11:11:58 -07:00 |
|
Patrick Walton
|
67bcc70754
|
rustboot: Emit an error instead of asserting in trans when a T is passed by value
|
2010-10-28 15:07:05 -07:00 |
|
Patrick Walton
|
b914e0e74c
|
Revert "rustboot: Emit an error instead of asserting in trans when a T is passed by value" due to test failures
This reverts commit ee901858a27bf00c7dd66e7cfecb9dd97029dba8.
|
2010-10-28 15:04:48 -07:00 |
|
Patrick Walton
|
ee901858a2
|
rustboot: Emit an error instead of asserting in trans when a T is passed by value
|
2010-10-28 15:02:00 -07:00 |
|
Patrick Walton
|
679dca8541
|
Emit a sensible error message if one or more of the parameters isn't enough context to instantiate a polymorphic function
|
2010-10-27 15:06:19 -07:00 |
|
Patrick Walton
|
b3c4c1426a
|
rustboot: Emit an error message instead of asserting on a type-param mismatch in tag constructors in patterns
|
2010-10-27 11:29:19 -07:00 |
|
Patrick Walton
|
3d0da75455
|
rustboot: For error reporting, map tag IDs to *tag* names, not to tag *variant* names
|
2010-10-26 15:37:49 -07:00 |
|
Patrick Walton
|
7e3c662b4f
|
rustboot: Use a less hacky method to report tag names in error messages, which works for resolve errors as well
|
2010-10-26 14:52:31 -07:00 |
|
Patrick Walton
|
7ed8b781d5
|
Thread a source location though for type error reporting instead of the awful "List.hd scopes" hack
|
2010-10-25 18:16:34 -07:00 |
|
Patrick Walton
|
1875a36fee
|
Prevent Not_found in the unfortunate case when we have to "friendly_stringify" a tag type we haven't yet recorded into cx.ctxt_all_tag_info
|
2010-10-25 17:58:24 -07:00 |
|
Patrick Walton
|
fc8b5155a8
|
rustboot: If the user tries to instantiate a non-parametric type with type parameters, report the location of the error
|
2010-10-22 15:12:48 -07:00 |
|
Patrick Walton
|
194f38fdff
|
rustboot: Don't use ridiculous type names when describing simple types like int and uint
|
2010-10-21 11:31:04 -07:00 |
|
Patrick Walton
|
a7840f02b0
|
Use "friendly" type names when reporting a "mismatched type-params" error
|
2010-10-21 11:14:38 -07:00 |
|
Patrick Walton
|
9a539a5dd1
|
Move the "friendly" type printer to semant
|
2010-10-20 17:58:55 -07:00 |
|
Patrick Walton
|
11deb2f5f1
|
Eliminate <tag#> stuff from the "friendly" type errors
|
2010-10-20 15:36:30 -07:00 |
|
Patrick Walton
|
4bb675ba42
|
Print better error messages when the number of type params is wrong
|
2010-10-20 11:22:44 -07:00 |
|
Graydon Hoare
|
7801ba9dfe
|
Make type errors in rustboot report the friendly type of both expected and actual.
|
2010-10-18 14:36:17 -07:00 |
|
Graydon Hoare
|
57c7e94c8f
|
Encode and decode tag types in dwarf properly. Add list module to std. Shift rustc to use std.util.option. Fix various dependent bugs. Closes #73.
|
2010-10-15 22:09:09 -07:00 |
|
Graydon Hoare
|
5a51716790
|
Fix mem += mem bug in vec-append.
|
2010-10-14 15:51:54 -07:00 |
|
Graydon Hoare
|
09b12d167f
|
Fix typos in Type.friendly_stringify.
|
2010-10-14 15:27:50 -07:00 |
|
Patrick Walton
|
c7ab80f743
|
Typecheck tags in "alt" patterns
|
2010-10-14 15:08:19 -07:00 |
|
Graydon Hoare
|
f234750d80
|
Fix crasher in rustc.
|
2010-10-14 12:41:48 -07:00 |
|
Graydon Hoare
|
668f3a90a8
|
Move the friendly-names table to semant, reuse it in the name mangler.
|
2010-10-13 17:15:25 -07:00 |
|
Graydon Hoare
|
52c2a1549c
|
Fetch typarams from the outermost item frame, when inside an iter-block. One less crash in rustc.
|
2010-10-13 15:53:38 -07:00 |
|
Patrick Walton
|
1e19fc969e
|
Use "friendly" types throughout the typechecker
|
2010-10-13 15:34:18 -07:00 |
|
Patrick Walton
|
e129a9b4ce
|
Use the user-defined type aliases when reporting type errors
|
2010-10-13 15:14:04 -07:00 |
|
Graydon Hoare
|
69ae63d4b0
|
Fix horribly embarassing signedness bug in backend, plus related regressions.
|
2010-10-12 16:51:27 -07:00 |
|
Graydon Hoare
|
beb4c07e26
|
Git index wins again.
|
2010-10-12 12:28:46 -07:00 |
|
Graydon Hoare
|
76f7b043bc
|
Changes to make rustboot compile on OCaml 3.12
|
2010-10-12 12:16:35 -07:00 |
|
Patrick Walton
|
99086292ac
|
Bind labels explicitly in fe/cexp.ml. Should fix issue #169.
|
2010-10-11 10:51:57 -07:00 |
|
Graydon Hoare
|
594cf63214
|
Remove obsolete comment, issue was fixed with last checkin.
|
2010-10-10 00:17:41 -07:00 |
|
Graydon Hoare
|
caaf8679d8
|
Teach bind to actually bind typarams, as it claims to.
|
2010-10-10 00:14:26 -07:00 |
|
Graydon Hoare
|
9fc963842d
|
Subject copying code to inline heuristic, cut 30kb from rustc.
|
2010-10-09 01:35:50 -07:00 |
|
Graydon Hoare
|
a441865f6e
|
Actually do what I meant to in the inline threshold. Don't drink and code. Cut rustc by 50kb.
|
2010-10-09 01:02:13 -07:00 |
|
Graydon Hoare
|
967a6f861d
|
Elide mark and sever glue in -minimal mode.
|
2010-10-09 00:47:02 -07:00 |
|
Graydon Hoare
|
3e513008b1
|
More type-fold caches, shave another second off compile time.
|
2010-10-09 00:31:26 -07:00 |
|
Graydon Hoare
|
f956067867
|
Implement a -minimal mode prologue, cut 100kb from rustc.
|
2010-10-08 23:58:48 -07:00 |
|
Graydon Hoare
|
39f51b31df
|
Quad counters are revealing. Move drops out-of-line, cut 200kb from rustc.
|
2010-10-08 23:32:18 -07:00 |
|
Graydon Hoare
|
ef5a64e2cf
|
Add quad-counting system.
|
2010-10-08 23:25:37 -07:00 |
|
Graydon Hoare
|
71c266f937
|
Fix logging bug.
|
2010-10-08 23:17:29 -07:00 |
|
Graydon Hoare
|
81e791d7b9
|
Add a tag cache for the cases we can't avoid hitting fold; cut rustc compile time by 50%.
|
2010-10-08 17:43:46 -07:00 |
|
Graydon Hoare
|
97a6b0935b
|
More fold caches, cut rustc compile time by 60% again.
|
2010-10-08 15:56:17 -07:00 |
|
Graydon Hoare
|
f1e2c379cb
|
Cache referent-type calculations in rustboot; cut rustc compile time by 60%.
|
2010-10-08 15:17:27 -07:00 |
|
Graydon Hoare
|
5f2459145c
|
Add -lpath mechanism for logging only a subset of a pass (by module-path prefix)
|
2010-10-08 14:54:51 -07:00 |
|
Graydon Hoare
|
facc5f8826
|
Make minimal-mode slightly less aggressive.
|
2010-10-07 18:21:06 -07:00 |
|
Graydon Hoare
|
e553ab9fc0
|
Simplify type-mismatch messages.
|
2010-10-07 13:15:38 -07:00 |
|