T3 cannot be used as type parameter, Error on recent builds

Hi I’m having issues running a package,

last working version 7.0-0466, newer versions don’t allow to open the conflictive files, they just show the error.

C:\Users\arist\AppData\Local\vvvv\gamma-preview\nugets\VL.Interpolator.Addons.1.5.6\VL\VL.Interpolator\VL.Interpolator.Runtime.vl.2.cs(6332,34): error CS0314: The type 'T3' cannot be used as type parameter 'T2'
 in the generic type or method '_Operations_.EnsureValue<T2, T>(T2, T, string, bool, bool, out T2)'. There is no boxing conversion or type parameter conversion from 'T3' to 'VL.Lib.Reactive.IChannel<T>'.

VL.Lang.Platforms.Roslyn.EmitException: C:\Users\arist\AppData\Local\vvvv\gamma-preview\nugets\VL.Interpolator.Addons.1.5.6\VL\VL.Interpolator\VL.Interpolator.Runtime.vl.2.cs(6332,34): error CS0314: The type 'T
3' cannot be used as type parameter 'T2' in the generic type or method '_Operations_.EnsureValue<T2, T>(T2, T, string, bool, bool, out T2)'. There is no boxing conversion or type parameter conversion from 'T3' 
to 'VL.Lib.Reactive.IChannel<T>'.
   at VL.Lang.Packages.PackageCompiler.CompileCoreAsync(FileInfo input, FileInfo output, Boolean ignoreSymbolErrors, Func`2 dependencyLoader, CancellationToken token, IProgress`1 progress)
   at VL.Lang.Packages.PackageCompiler.CompileAsync(PackageInfo package, CancellationToken token, IProgress`1 progress)
   at VL.Lang.Packages.PackageCompiler.CompilePackagesAsync(LockFileResolver resolver, IEnumerable`1 packageIds, IProgress`1 progress, CancellationToken token)
   at VL.Model.Internal.Solution.RestoreAsync(Boolean editorExtensionsEnabled, IEnumerable`1 files, Boolean loadDependencies, Func`2 dependencyLoader, Boolean deterministic, CancellationToken token, IProgress`1
 progress)
   at VL.Model.Solution.RestoreAsync(Boolean editorExtensionsEnabled, IEnumerable`1 files, CancellationToken token, IProgress`1 progress)
   at VL.Model.Solution.LoadDocumentsAsync(IEnumerable`1 filePaths, Boolean editorExtensionsEnabled, IEnumerable`1 packages, CancellationToken token, IProgress`1 progress)
   at VL.Model.VLSession.LoadDocumentsAsync(IEnumerable`1 filePaths, CancellationToken token, IProgress`1 progress)
   at VL.HDE.PatchEditor.NavigationMenuProvider.DoOpenDocumentsAsync(String[] fileNames)
   at VL.Model.VLSession.<>c__DisplayClass166_0.<<RunAndForget>b__0>d.MoveNext()

Sounds like a regression from Optional<Float32> weird behavior - #2 by Elias
Will come back to you.

2 Likes

Fixed in upcoming. Thanks for reporting. Will also add VL.Interpolator to our internal test runs.

2 Likes

Thank you so much @Elias.