Closed FibonacciFox closed 10 months ago
I have a suspicion that the problem is in the Closure.
Hi @FibonacciFox and thank you for reporting the issue.
For some reason, it compiles new Uri(..)
differently than outside the closure. I'll have to debug it for more details.
thank you @FibonacciFox , there were a few issues with this case, fixed now.
thank you @FibonacciFox , there were a few issues with this case, fixed now.
thank you @jakubmisek !
When creating an instance of the System\Uri class; in an anonymous function, the program crashes with an error:
But when declared: $uri = new Uri('avares://Application/src/Application/Forms/MyWindow.axaml'); Anywhere else in the code, everything works. It seems to me that such behavior should not be. Link to the project with this exception: https://github.com/FibonacciFox/NewAvaloniaPeachpie