Closed GoogleCodeExporter closed 9 years ago
This exact example seem to work fine, I suspect this bug occurs when the
compiler logger tries to log an error related to this line. Do you have a
reproducible example?
Original comment by DanelK...@gmail.com
on 29 May 2012 at 9:03
That reproducibly fails for me on a new project, the complete code
using SharpKit.JavaScript;
using SharpKit.Html4;
using SharpKit.jQuery;
namespace SharpKitWebApp4
{
[JsType(JsMode.Global, Filename = "res/Default.js")]
public class DefaultClient : jQueryContextBase
{
static void DefaultClient_Load()
{
J(document.body).append("Ready<br/>");
}
static void btnTest_click(HtmlDomEventArgs e)
{
J(document.body).append("Hello world<br/>");
var test = string.Format("test {0}", 1);
}
}
}
I've attached my config and log in case that helps.
Original comment by co...@gravill.com
on 29 May 2012 at 9:18
Attachments:
Thanks, found it, happens when logging is enabled, fixed.
Original comment by DanelK...@gmail.com
on 29 May 2012 at 9:54
Original issue reported on code.google.com by
co...@gravill.com
on 28 May 2012 at 11:53