Announcement

Collapse
No announcement yet.

Bridge.NET compilation breaks

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Bridge.NET compilation breaks

    I have a rather large application compiled with Bridge.net.

    Every once i a while the generated javascript break for methods with default parameters.
    public static HTMLElement Display(this HTMLElement element, DisplayMode display = DisplayMode.Default)
    {
    }
    produces
    display: function (element, display) {
        if (display === void 0) { display = ; }
    }
    Simply recompiling usually fix this issue. So it doesn't happen every now and then
    I just managed to copy this one that break for this topic.

    #2
    Hi. Are you able to reproduce this issue in Deck.NET? Sharing a reproducible sample from Deck would help us isolate the problem.

    Comment


      #3
      No I couldn't reproduce it on deck. I could hardly reproduce it even on my PC. When it happens, once I rebuild the solution, the error goes away.

      Comment

      Working...
      X