Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

infer types of const #26

Closed
jmesserly opened this issue Jan 16, 2015 · 1 comment
Closed

infer types of const #26

jmesserly opened this issue Jan 16, 2015 · 1 comment

Comments

@jmesserly
Copy link
Contributor

from the DeltaBlue code:

const WEAKEST          = const Strength(6, "weakest");
// ...
class Variable {
  // ...

  // Generates as:
  // this.walkStrength = /* Unimplemented: DownCast: dynamic to Strength */ WEAKEST;
  Strength walkStrength = WEAKEST;
  // ...
}

that would not be a very useful down cast :)

@sigmundch
Copy link
Contributor

totally I agree - I think this is a dupe of #8 though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants