Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Formatting code changes 'default val' and 'override val' to 'member val' #1151

Closed
miegir opened this issue Oct 11, 2015 · 1 comment
Closed

Comments

@miegir
Copy link

miegir commented Oct 11, 2015

This:

type Entity() = 
    abstract Id : int with get, set
    default val Id = 0 with get, set

and this:

type Entity() = 
    abstract Id : int with get, set
    override val Id = 0 with get, set

becomes this (and cannot be compiled):

type Entity() = 
    abstract Id : int with get, set
    member val Id = 0 with get, set

I think this is a very rarely used language feature though.

@dungpa
Copy link
Contributor

dungpa commented Oct 12, 2015

Thanks for the bug report. I'll take a look.

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

No branches or pull requests

2 participants