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

tutorial: Add missing struct name #3673

Merged
merged 1 commit into from Oct 6, 2012
Merged

tutorial: Add missing struct name #3673

merged 1 commit into from Oct 6, 2012

Conversation

jhckragh
Copy link
Contributor

@jhckragh jhckragh commented Oct 6, 2012

Without Point before each { ... } I get the following error when
compiling the code with the compiler from the preliminary tarball made
available on Wednesday:

error: mismatched types: expected `Point` but found `{x: float,y: float}`
(expected class Point but found record)

@nikomatsakis nikomatsakis merged this pull request into rust-lang:master Oct 6, 2012
@nikomatsakis
Copy link
Contributor

Thanks.

@catamorphism
Copy link
Contributor

I un-merged this in master since it was pulled directly to master, and building it against incoming, I get a compile error because the test case now has a comment saying that Point is a structural record type. So I'm leaving it un-merged.

@brson
Copy link
Contributor

brson commented Oct 7, 2012

I merged this.

@jhckragh
Copy link
Contributor Author

jhckragh commented Oct 7, 2012

Doh! Sorry about targeting the pull request at the wrong branch.

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

Successfully merging this pull request may close these issues.

None yet

4 participants