Permalink
Browse files

Update definition of BlockStatement.path

As pointed in #1237 BlockStatement.path accepts in practice PathExpression or Literal.  
Updates its definition to reflect this fact
1 parent a6a0e50 commit f2211ddd650af2a28c782e736d8528f875c38dd4 @blikblum blikblum committed on GitHub Jul 21, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/compiler-api.md
@@ -66,7 +66,7 @@ interface MustacheStatement <: Statement {
interface BlockStatement <: Statement {
type: "BlockStatement";
- path: PathExpression;
+ path: PathExpression | Literal;
params: [ Expression ];
hash: Hash;

0 comments on commit f2211dd

Please sign in to comment.