https://kotlinlang.org logo
#random
Title
e

elect

10/29/2018, 6:24 PM
look where inline classes save pain
Copy code
val vkp = VulkanRenderer.Pipeline()
        vkp.layout = layout
        vkp.pipeline = p
I assign first layout and then pipeline but in the class declaration I have first
pipeline
and then
layout
(both inline classes of `Long`s) and this is the same order I used while refractoring and moving those from class property to primary constructor now val
vkp = VulkanRenderer.Pipeline(layout, p)
complains because it must be the other way round simply awesome
👍 4