Skip to content

Commit

Permalink
Update definition of BlockStatement.path
Browse files Browse the repository at this point in the history
As pointed in #1237 BlockStatement.path accepts in practice PathExpression or Literal.  
Updates its definition to reflect this fact
  • Loading branch information
blikblum authored and nknapp committed Mar 9, 2017
1 parent e331232 commit 8088a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/compiler-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ interface MustacheStatement <: Statement {

interface BlockStatement <: Statement {
type: "BlockStatement";
path: PathExpression;
path: PathExpression | Literal;
params: [ Expression ];
hash: Hash;

Expand Down

0 comments on commit 8088a46

Please sign in to comment.