facebook / facebook/hhvm

Trait requirements using a comma

オープン
#4,322 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
feature request hack
主要言語
C++
スター
18.7k
フォーク
3.1k
平均マージ
1時間 47分
マージ済み PR(30日)
2

説明

Currently this is not supported and you have to declare a requirement per line.

``` hack
trait ObserverAnnotation {
require implements Annotator;
require implements Subject;
}
```

Would be nice if you could comma separate them the same way you do extends and implements for a class.

``` hack
trait ObserverAnnotation {
require implements Annotator, Subject;
}
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。