mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Merge pull request #2924 from philipturner/patch-1
Add @preconcurrency to Swift declaration attributes
This commit is contained in:
commit
ee5303f9cc
1 changed files with 3 additions and 7 deletions
|
|
@ -57,8 +57,8 @@ export const language = <languages.IMonarchLanguage>{
|
|||
'@asyncHandler',
|
||||
'@available',
|
||||
'@convention',
|
||||
'@derivative', // Swift for TensorFlow
|
||||
'@differentiable', // Swift for TensorFlow
|
||||
'@derivative',
|
||||
'@differentiable',
|
||||
'@discardableResult',
|
||||
'@dynamicCallable',
|
||||
'@dynamicMemberLookup',
|
||||
|
|
@ -72,6 +72,7 @@ export const language = <languages.IMonarchLanguage>{
|
|||
'@noreturn',
|
||||
'@objc',
|
||||
'@objcMembers',
|
||||
'@preconcurrency',
|
||||
'@propertyWrapper',
|
||||
'@requires_stored_property_inits',
|
||||
'@resultBuilder',
|
||||
|
|
@ -318,11 +319,6 @@ export const language = <languages.IMonarchLanguage>{
|
|||
[/./, 'identifier']
|
||||
],
|
||||
|
||||
// symbol: [
|
||||
// [ /@symbols/, 'operator' ],
|
||||
// [ /@operators/, 'operator' ]
|
||||
// ],
|
||||
|
||||
invokedmethod: [
|
||||
[
|
||||
/([.])(@identifier)/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue