Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object PhsIndType extends Enumeration{
- type PhsIndType = Value
- val A : Value = Value(1)
- val R : Value= Value(2)
- val O : Value = Value(3)
- val E : Value = Value(4)
- }
- val map = PhsIndType.values.toMap[AnyVal, AnyVal]
- Cannot prove that enumeration.PhsIndType.Value <:< (AnyVal, AnyVal).
- val map = PhsIndType.values.toMap[AnyVal, AnyVal]
Add Comment
Please, Sign In to add comment