Skip to content

Commit

Permalink
Mark SAM adapter functions as infix or operator if the original funct…
Browse files Browse the repository at this point in the history
…ion is marked as such
  • Loading branch information
yanex committed Nov 27, 2015
1 parent b7fcbff commit 3001af5
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -133,6 +133,9 @@ class SamAdapterFunctionsScope(storageManager: StorageManager) : BaseImportingSc
descriptor.initialize(receiverType, null, typeParameters, valueParameters, returnType,
Modality.FINAL, visibility)

descriptor.isOperator = sourceFunction.isOperator
descriptor.isInfix = sourceFunction.isInfix

return descriptor
}
}
Expand Down

0 comments on commit 3001af5

Please sign in to comment.