Skip to content

Commit

Permalink
added test case for issue #86
Browse files Browse the repository at this point in the history
  • Loading branch information
mantkiew committed Jun 24, 2016
1 parent 2ccd620 commit b8ab917
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/failing/gi86-clafer-cannot-extend-itself.cfr
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
abstract FunctionalArchitecture
abstract Deployment
abstract fa -> FunctionalArchitecture

// then we write our generic power window deployment

abstract PowerWindowFAA : FunctionalArchitecture
abstract PowerWindowDpl : Deployment
abstract fa : fa -> PowerWindowFAA

// Finally, we want to specialize it to driver power window.
// Here we have concrete architecture

System
DriverPowerWindowFAA : PowerWindowFAA
DriverPowerWindowDpl : PowerWindowDpl
// refine the type again to driver
fa : fa -> DriverPowerWindowFAA

0 comments on commit b8ab917

Please sign in to comment.