You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error BSG0002: The getter must be a lambda expression
The error is quite clear, so was thinking I might need to look at the codegen to see how that is implemented. Before I do that I wanted to check if Ive missed anything.
It might be Ive just had too much turkey at this point to see the wood for the trees. 🌲
(I have simplified the code above massively to get to a small example of what Im trying to achieve)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am investigating the use of compiled bindings in a small fluent framework Ive created. Given the following code that uses a compiled binding:
I want to pass a static function to my own fluent function like this:
The code for the TextBinding method looks like this:
But I get the following error:
The error is quite clear, so was thinking I might need to look at the codegen to see how that is implemented. Before I do that I wanted to check if Ive missed anything.
It might be Ive just had too much turkey at this point to see the wood for the trees. 🌲
(I have simplified the code above massively to get to a small example of what Im trying to achieve)
Beta Was this translation helpful? Give feedback.
All reactions