Mercurial > projects > dang
changeset 205:8387cbaa85ab
Small addition to the comments of an assign expr.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Mon, 11 Aug 2008 21:56:21 +0200 |
parents | 227d6a8fb574 |
children | d3c148ca429b |
files | ast/Expr.d doc/candydoc/modules.ddoc |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ast/Expr.d Mon Aug 11 21:27:44 2008 +0200 +++ b/ast/Expr.d Mon Aug 11 21:56:21 2008 +0200 @@ -116,7 +116,12 @@ } /** - Assign + The Assign expression contains two expression, a left and a right side, + left being a lvalue, right being a rvalue. + + If the right side ain't the same type as the left type, the right side will + try to be promoted through an implicit cast. If this failes, an error must + be given. */ class Assign : Expr {