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

add `using override` syntax #6654

Closed
wants to merge 4 commits into
base: development
from
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

Prev

change to `using override`

  • Loading branch information...
Simn committed Apr 17, 2018
commit 6230c4f55863a5cf68cfc2073119935b16339e9c
Copy path View file
@@ -221,7 +221,7 @@ and parse_using s p1 =
p2,List.rev acc
in
let priority = match s with parser
| [< '(Kwd Default,_) >] -> true
| [< '(Kwd Override,_) >] -> true
| [< >] -> false
in
let p2, path = (match s with parser
@@ -1,7 +1,7 @@
package unit;

using unit.TestUsing.MyUsingClass;
using default unit.TestUsing.MyDefaultUsingClass;
using override unit.TestUsing.MyDefaultUsingClass;
using unit.TestUsing.MyUsingClass;

class MyDefaultUsingClass {
ProTip! Use n and p to navigate between commits in a pull request.