Not quite sure why any IDE would let you choose such a combination (might be worth reporting a bug on it), as this is not a valid combination. You cannot use language features from a higher version than your SDK - the compiler just won't know how to treat the new syntax.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.