//
//  JSONOperators.swift
//  InstaCollage
//
//  Created by Optimus Prime on 28.02.17.
//  Copyright © 2017 Tren Lab. All rights reserved.
//

import Foundation

// MARK: - Precedencegroup

precedencegroup DeserializingPrecedence {
    
    associativity: left
    
    higherThan: CastingPrecedence
}

// MARK: - Operators

/**
 Ifix operator. Used for MYJSON deserialization. 
 */
infix operator <-: DeserializingPrecedence

//
//  JSONOperators.swift
//  InstaCollage
//
//  Created by Optimus Prime on 28.02.17.
//  Copyright © 2017 Tren Lab. All rights reserved.
//

import Foundation

// MARK: - Operators

/**
 Ifix operator. Used for MYJSON deserialization. 
 */
infix operator <-

--- 
+++ 
@@ -8,9 +8,18 @@
 
 import Foundation
 
+// MARK: - Precedencegroup
+
+precedencegroup DeserializingPrecedence {
+    
+    associativity: left
+    
+    higherThan: CastingPrecedence
+}
+
 // MARK: - Operators
 
 /**
  Ifix operator. Used for MYJSON deserialization. 
  */
-infix operator <-
+infix operator <-: DeserializingPrecedence
Add precedence group to operator.
