문제

Here is sample in Dart language:

patch class List<E> {
}

This is not patch file because it has extension .dart and contains regular source code written in Dart language except for patch keyword.

Will be this keyword standardized in future in TC52 - Dart - Ecma International?

도움이 되었습니까?

해결책

patch classes are a VM/compiler feature that are not accessible to normal developers. It is used to share code between the VM and dart2js implementation.

There is no need to standardize the keyword in TC52.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top