1. 10 5月, 2016 6 次提交
  2. 07 5月, 2016 1 次提交
  3. 06 5月, 2016 2 次提交
  4. 05 5月, 2016 3 次提交
  5. 04 5月, 2016 4 次提交
  6. 03 5月, 2016 2 次提交
  7. 30 4月, 2016 1 次提交
  8. 29 4月, 2016 5 次提交
  9. 28 4月, 2016 5 次提交
    • V
    • J
      Tuples: solve IDE crash with Extract Method (#10740) · 57e75065
      Julien 提交于
      57e75065
    • V
      Making recommenders work better in tuple expression. · a3d8ab1b
      vsadov 提交于
      Note: we have to conservatively assume that parenthesized expression could also be a tuple in progress.
      a3d8ab1b
    • V
      added tuple type symbol · 52fc8439
      vsadov 提交于
      Rebased onto future branch
      Fixed Tuple field signatures
      Fixed tests affected by tuple parsing
      52fc8439
    • V
      ==== Adding Syntax nodes and Parser support for Tuples. · f39ba171
      VSadov 提交于
      Most interesting parts here are:
      * the syntax node shape and naming - these are public APIs so we should get the naming right.
      NOTE: I expect some churn here so for now I have disabled the public API diagnostics.
      
      * parsing something that starts with "("  is tricky since that can be a start of many constructs - lambdas, casts, parenthesized expressions...
      I have updated the lookahead logic that tries to figure what we are dealing with, but it may need some tuning to be more robust.
      In particular there could be some error recovery work to see that handling of broken code is sensible.
      
      ==== Current assumptions:
      1) TupleTypes and TupleExpressions must have 2 or more elements/arguments. However we may have to parse 0 and 1 sized expressions for error recovery reasons. Those are syntax errors.
      
      2) TupleType looks like
      
      (int x, int y)  x = ...
      
      I.E.
      
        ( type [name], type [name])
      
      We may enforce that all or no elements have names. Not sure yet if that needs to be in parser or binder.
      
      3) TupleExpression looks like
      
      var something = (x: foo(), y: bar);
      
      I.E.
      
        ( [name:] expr, [name:] expr)
      
      just like with the types we may want to enforce that all or none of the arguments have names. Not sure if that is a syntax or binding error.
      It is not a part of this change.
      f39ba171
  10. 27 4月, 2016 3 次提交
  11. 26 4月, 2016 1 次提交
  12. 25 4月, 2016 3 次提交
  13. 22 4月, 2016 4 次提交