Skip to content

internal error instead of type error on "some_vector.some_field_name" #367

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

Closed
paulstansifer opened this issue May 12, 2011 · 0 comments
Closed
Labels
A-type-system Area: Type system

Comments

@paulstansifer
Copy link
Contributor

Trying to compile the file:

fn f() {
  auto v = vec(1);
  log v.some_field_name; //type error
}

Results in the error message:
6:6:6:23: error: internal compiler error: unimplemented base type for expr_field in typeck.check_expr: vec[int]

@brson brson closed this as completed in 54566e9 Jun 23, 2011
arielb1 pushed a commit to arielb1/rust that referenced this issue Apr 10, 2015
…and-dir-layout-for-issue-360

Revise file names and dir layout for issue 360
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Add lutimes

Add lutimes except for openbsd, solaris, android
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
calebzulawski added a commit to calebzulawski/rust that referenced this issue Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-type-system Area: Type system
Projects
None yet
Development

No branches or pull requests

2 participants