Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sprintf "" causes a weird error. #743

Closed
FrankBro opened this issue Aug 19, 2017 · 3 comments
Closed

sprintf "" causes a weird error. #743

FrankBro opened this issue Aug 19, 2017 · 3 comments

Comments

@FrankBro
Copy link

In a module with WebSharper.Pervasives.JavaScript, if you have sprintf "" anywhere, it will cause this weird issue in a .targets file.

Error The input sequence was empty.
Parameter name: source {PROJECTNAME} {PATH TO PROJECT}\packages\WebSharper.3.6.20.6\build\WebSharper.targets

Using

  • IntelliFactory.Xml
  • WebSharper v3.6.20.6
  • WebSharper.Html v3.6.12.2
@granicz
Copy link
Member

granicz commented Aug 20, 2017

Wow, that sounds odd. Have you tried with the latest Zafir version?

@FrankBro
Copy link
Author

I haven't played with WebSharper in a while so I'm not sure what Zafir is referring to. Is it the codename of version 4 which is in beta? Should I switch to that?

@Jand42 Jand42 added the bug label Aug 21, 2017
@Jand42
Copy link
Member

Jand42 commented Aug 21, 2017

@granicz Tested on http://try.websharper.com/new-fsharp, it is a printf macro bug that affects Zafir too. Although sprintf "" does not have much use, this can be annoying and should be quick to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants