Skip to content

Commit 1ccdc1d

Browse files
committed
Prepare 6.1.0
1 parent 7b7412f commit 1ccdc1d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ XP Compiler ChangeLog
33

44
## ?.?.? / ????-??-??
55

6+
## 6.1.0 / 2021-01-04
7+
68
* Included languages and emitters in `xp compile` output - @thekid
79

810
## 6.0.0 / 2020-11-28

src/test/php/lang/ast/unittest/emit/BracesTest.class.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,18 @@ public function run() {
9393
Assert::equals($expected, $r);
9494
}
9595

96+
#[Test]
97+
public function function_call_in_braces() {
98+
$r= $this->run('class <T> {
99+
public function run() {
100+
$e= STDOUT;
101+
return false !== (fstat(STDOUT));
102+
}
103+
}');
104+
105+
Assert::true($r);
106+
}
107+
96108
#[Test]
97109
public function invoke_on_braced_null_coalesce() {
98110
$r= $this->run('class <T> {

0 commit comments

Comments
 (0)