dotnet-websharper / core

WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
https://websharper.com
Apache License 2.0
589 stars 52 forks source link

Class with a base class with inlines only #1390

Closed Jand42 closed 3 months ago

Jand42 commented 5 months ago

Having a module in an F# file with no namespace seemed to break some Proxy projects. Turned out that was a red herring. Underlying issue is this:

If a class has only Inline members (and no JS-annotated constructor), that class will have no generated code for it. However, if you inherit from it, you will get no compiler error, but the subclass will link to a nonexistent base class/