[graydon/rust] e88936: make parser handle parenthesized block-sugar exprs...

rust-commits at mozilla.org rust-commits at mozilla.org
Wed Jan 4 16:05:56 PST 2012


  Branch: refs/heads/try
  Home:   https://github.com/graydon/rust

  Commit: e889361bbf3757c2fbeab8af4720491e9a3ec6e9
      https://github.com/graydon/rust/commit/e889361bbf3757c2fbeab8af4720491e9a3ec6e9
  Author: Niko Matsakis <niko at alum.mit.edu>
  Date:   2012-01-04 (Wed, 04 Jan 2012)

  Changed paths:
    M src/comp/syntax/parse/parser.rs
  M src/comp/syntax/print/pprust.rs
  M src/test/run-pass/block-arg-in-parentheses.rs

  Log Message:
  -----------
  make parser handle parenthesized block-sugar exprs properly


  Commit: 68e178ad62c002eb8d9e50bbf2dff829c080e27b
      https://github.com/graydon/rust/commit/68e178ad62c002eb8d9e50bbf2dff829c080e27b
  Author: Niko Matsakis <niko at alum.mit.edu>
  Date:   2012-01-04 (Wed, 04 Jan 2012)

  Changed paths:
    M src/comp/front/test.rs
  M src/comp/middle/alias.rs
  M src/comp/middle/trans.rs
  M src/comp/middle/tstate/annotate.rs
  M src/comp/middle/tstate/auxiliary.rs
  M src/comp/middle/tstate/pre_post_conditions.rs
  M src/comp/middle/tstate/states.rs
  M src/comp/middle/ty.rs
  M src/comp/middle/typeck.rs
  M src/comp/syntax/ast.rs
  M src/comp/syntax/fold.rs
  M src/comp/syntax/parse/parser.rs
  M src/comp/syntax/print/pprust.rs
  M src/comp/syntax/visit.rs
  A src/test/compile-fail/block-arg-as-stmt-with-value.rs
  R src/test/run-pass/block-arg-as-stmt.rs
  M src/test/run-pass/block-arg-in-parentheses.rs
  A src/test/run-pass/last-use-in-cap-clause.rs

  Log Message:
  -----------
  require a non-semi expr acting as a stmt to have unit return type


  Commit: 31fc2335910e6150b0c23d3e90282a3e5cbf1143
      https://github.com/graydon/rust/commit/31fc2335910e6150b0c23d3e90282a3e5cbf1143
  Author: Niko Matsakis <niko at alum.mit.edu>
  Date:   2012-01-04 (Wed, 04 Jan 2012)

  Changed paths:
    M src/test/compile-fail/block-arg-as-stmt-with-value.rs

  Log Message:
  -----------
  correct test to reference right value


Compare: https://github.com/graydon/rust/compare/4fecf8a...31fc233


More information about the Rust-commits mailing list