简体   繁体   English

dart 有运算符 >>> 吗?

[英]Does dart have operator >>>?

The dart docs list of operators includes >>> , it is also in the Dart 2.2 Language Spec . dart 文档中的操作符列表包括>>> ,它也在Dart 2.2 语言规范中 However, it's not included in the list of overridable operators, this answer from 2012 says that it doesn't (or didn't) exist, and dartpad rejects 3 >>> 1 .但是,它不包含在可覆盖运算符列表中, 2012 年的这个答案说它不存在(或不存在),并且dartpad拒绝3 >>> 1 Is this just a mistake in the docs, or does the operator do something I can't figure out?这只是文档中的错误,还是操作员做了一些我无法弄清楚的事情?

Short answer: not yet (as of July 2019)简短回答:还没有(截至 2019 年 7 月)

Here's the master tracking issue: https://github.com/dart-lang/sdk/issues/30886这是主跟踪问题: https : //github.com/dart-lang/sdk/issues/30886

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM