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
Hi @xiety. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Is there an existing issue for this?
Describe the bug
Problem looks like the closed dotnet/aspnetcore#37482 and dotnet/aspnetcore#18757, but dotnet/razor-compiler#34 doesn't fix it in the latest 7.0.100-preview.6.22352.1
Generated code lacks global:: on __syntheticArg0
Produces compilation error:
Expected Behavior
Code is generated with global:: on __syntheticArg0
Steps To Reproduce
Project named BlazorBug
App.razror
ParentComponent.razor
ChildComponent.razor
GenericClass.cs
Exceptions (if any)
No response
.NET Version
7.0.100-preview.6.22352.1
Anything else?
The workaround is to explicitly provide the types or move the GenericClass to a different namespace.
The text was updated successfully, but these errors were encountered: