cxflag203 / cascadia

Automatically exported from code.google.com/p/cascadia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.Child no longer exists in the tip version of exp/html

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. go get code.google.com/p/cascadia with a tip version of go fails

Error message is:

$ go get code.google.com/p/cascadia
# code.google.com/p/cascadia
/tmp/go/src/code.google.com/p/cascadia/selector.go:46: n.Child undefined (type 
*html.Node has no field or method Child)
/tmp/go/src/code.google.com/p/cascadia/selector.go:234: parent.Child undefined 
(type *html.Node has no field or method Child)
/tmp/go/src/code.google.com/p/cascadia/selector.go:279: parent.Child undefined 
(type *html.Node has no field or method Child)
/tmp/go/src/code.google.com/p/cascadia/selector.go:299: n.Child undefined (type 
*html.Node has no field or method Child)
/tmp/go/src/code.google.com/p/cascadia/selector.go:348: p.Child undefined (type 
*html.Node has no field or method Child)

What version of the product are you using? On what operating system?
go/ $ hg sum
parent: 14012:b8637622df90 tip
 exp/locale/collate/build: moved some of the code to the appropriate file, as
branch: default
commit: (clean)
update: (current)


Please provide any additional information below.
The attached patch gets tests passing again

Original issue reported on code.google.com by couchmo...@gmail.com on 8 Sep 2012 at 1:58

Attachments:

Whoops, left a be chunk of code commented out, cleaner patch attached.

Original comment by couchmo...@gmail.com on 8 Sep 2012 at 2:03

Attachments:

Applied submitted patch; now it works again.

Original comment by andybalholm@gmail.com on 8 Sep 2012 at 5:36

  • Changed state: Fixed