Is there a way I can provide a certain context receiver at the file level?
e
elizarov
02/13/2023, 2:31 PM
We’ve discussed it, but it is not our plate yet. I am curious in what context (pun intended) you came around such a need?
k
Kroppeb
02/13/2023, 2:33 PM
My context was Advent Of Code. I don't fully remember what I needed it for
Kroppeb
02/13/2023, 2:34 PM
It's one of two things, and one of those was a bit too cursed. (Although I stopped on that sub project cause of a java/jvm limitation and not because of it's cursedness)
Kroppeb
02/13/2023, 2:35 PM
The other option was for my coordinate system helper
Kroppeb
02/13/2023, 2:38 PM
So in my main branch I have this line in each solution file to set the global coordinate system
Kroppeb
02/13/2023, 2:40 PM
But I have branch where it's used as a context instead, which is fine, but means I need to add a
@context
line to any helper functions that interact with the coordinate system. Which takes time =p
Kroppeb
02/13/2023, 2:40 PM
I don't really think it's a valid concern though outside of advent of code