Repository navigation
|
I have an expression: Where "Enemies" is a parameter of type Defined as: I am getting the error (I'll paste the full error at the bottom): Is there something I'm missing in getting Sum() to work? It looks like some issue where the variable Enemies is an object and not an IEnumerable, but I'm not sure what to do about that. I already tried casting it as List in my expression and that doesn't work. Full Error: |
Replies: 3 comments 4 replies
|
Can you provide a simple unit test like this to reproduce the problem? |
|
Here is a self-contained unit test that fails with the above error: note: I add DateTime, DateTimeOffset, and TimeSpan references because of other uses, this is a cut-down example, but I wanted to leave that bit in case it was conflicting with something. |
|
Fixed in 2.16.0 🎉 |
Fixed in 2.16.0 🎉