1. 01 6月, 2012 1 次提交
  2. 31 5月, 2012 1 次提交
  3. 26 5月, 2012 2 次提交
  4. 22 5月, 2012 3 次提交
  5. 16 5月, 2012 1 次提交
  6. 15 5月, 2012 4 次提交
  7. 14 5月, 2012 3 次提交
  8. 10 5月, 2012 1 次提交
  9. 08 5月, 2012 1 次提交
  10. 24 4月, 2012 2 次提交
  11. 21 4月, 2012 1 次提交
  12. 20 4月, 2012 1 次提交
  13. 19 4月, 2012 1 次提交
  14. 11 4月, 2012 1 次提交
  15. 07 4月, 2012 2 次提交
    • T
      Re-rename option functions · 9d274ec5
      Tim Chevalier 提交于
      get_with_default (nee from_maybe) => get_default
      with_option (nee maybe) => map_default
      with_option_do (nee may) => iter
      
      As per discussion of 21be1379
      9d274ec5
    • M
      Convert old-style for loops to new-style · c902eafa
      Marijn Haverbeke 提交于
      Most could use the each method, but because of the hack used to
      disambiguate old- and new-style loops, some had to use vec::each.
      
      (This hack will go away soon.)
      
      Issue #1619
      c902eafa
  16. 03 4月, 2012 1 次提交
    • T
      Rename some core::option functions · 21be1379
      Tim Chevalier 提交于
      from_maybe => get_with_default
      maybe => with_option
      may => with_option_do
      
      I know these names are kind of ridiculous, but it's the best I could think of.
      Feel free to bikeshed. Closes #2081
      21be1379
  17. 30 3月, 2012 1 次提交
  18. 29 3月, 2012 1 次提交
    • T
      Allow explicit self-calls within classes · f7bbe537
      Tim Chevalier 提交于
      Allow writing self.f() within a class that has a method f. In a future
      commit, this syntax will be required. For now, you can write either
      self.f() or f().
      
      I added a "privacy" field to all methods (whether class methods or not),
      which allowed me to refactor the AST somewhat (getting rid of the
      class_item type; now there's just class_member).
      f7bbe537
  19. 27 3月, 2012 2 次提交
  20. 24 3月, 2012 2 次提交
    • N
      Implement new inference algorithm. · 042c532a
      Niko Matsakis 提交于
      042c532a
    • T
      Handle self correctly when translating classes · 8bbd7807
      Tim Chevalier 提交于
      This change uses the same code for handling the "self" reference for
      classes as is already used for impls/ifaces. This allows removing the
      extra maybe_self_id argument (which was just for classes) to trans_closure
      that I added before. I also rewrote the translation for class ctors so
      that it doesn't generate new AST nodes (instead translating directly).
      
      Also changed visit so that it visits class ctors correctly with visit_fn,
      and changed typestate to not do return-checking when visiting a class ctor.
      8bbd7807
  21. 23 3月, 2012 2 次提交
  22. 16 3月, 2012 1 次提交
  23. 15 3月, 2012 5 次提交