define showrepo(p:Project, r:Repo){
div{
  output(r)
  submit action{p.repos.remove(r);} {"Remove"}
}
var r :URL
div{
  form{
    input(r)
    submit action{ p.repos.add(Repo{url:=r}); } {"Add repository"}
  }
}
}

causes confusing error: No function ‘remove’ for ‘p.repos’ with signature remove(URL)

Submitted by Danny Groenewegen on 11 July 2011 at 21:34

On 11 July 2011 at 21:34 Danny Groenewegen tagged 1.2.9

On 24 February 2012 at 17:02 Danny Groenewegen tagged 1.3.0

On 24 February 2012 at 17:02 Danny Groenewegen removed tag 1.2.9

On 15 January 2013 at 14:31 chris melman tagged 1.4.0

On 15 January 2013 at 14:31 chris melman removed tag 1.3.0

On 15 January 2013 at 14:31 chris melman commented:

should be fixed with NBL


On 15 January 2013 at 14:39 chris melman removed tag 1.4.0

On 15 January 2013 at 14:42 chris melman tagged name-binding

Log in to post comments