sebastienros / parlot

Fast and lightweight parser creation tools
BSD 3-Clause "New" or "Revised" License
354 stars 43 forks source link

Parlot 0.27 breaks Fluid.Core 2.10 #114

Closed Jojoshua closed 2 weeks ago

Jojoshua commented 2 months ago

Something about Method not found when instantiating a new FluidParser

sebastienros commented 2 months ago

Fluid needs to be updated to use the latest and fix that. I don't think you can just replace parlot version with Fluid around.

Jojoshua commented 2 months ago

Ok, so maybe pin the version of Parlot in Fluid.core dependencies. Right now it's >=.25

lahma commented 2 months ago

I'd say it's better to think Parlot as transitive dependency when using Fluid and let nuget handle the default resolution without explicitly referencing Parlot.

Jojoshua commented 2 months ago

Whatever you decide is fine and close the issue whenever. I'm just reverting to .25 for now

deanebarker commented 1 month ago

Same problem, same solution -- downgrading to 0.25 works around it.

gumbarros commented 2 weeks ago

Something about Method not found when instantiating a new FluidParser

System.MissingMethodException: Method not found: 'Parlot.Fluent.Parser1 Parlot.Fluent.Parsers.AndSkip(Parlot.Fluent.Parser1, Parlot.Fluent.Parser`1)'. at Fluid.FluidParser..ctor(FluidParserOptions parserOptions) at Fluid.FluidParser..ctor() at JJMasterData.Core.UI.Components.JJFormView.GetHtmlTemplateActionResult() ///....

I'm getting the same exception installing NCalc and Fluid at the same project.

gumbarros commented 2 weeks ago

I think this issue can be closed, because Fluid needs to be updated at Nuget.org to use Parlot 0.28 and fix the transitive dependency conflict.

(https://github.com/sebastienros/fluid/issues/677)