OCL 2.5 RTF Avatar
  1. OMG Issue

OCL25 — OCL 2.3 Pathname syntax does not allow access to hidden names

  • Key: OCL25-157
  • Legacy Issue Number: 16044
  • Status: open  
  • Source: Model Driven Solutions ( Dr. Edward Willink)
  • Summary:

    If meta-models provide both 'B::x' and 'A::B::x', it is not possible to access 'B::x' from a context with 'A::B' since 9.4.1[4] searches from the current scope and so resolve 'B' in 'B::x' to 'A::B'.

    Suggest adoption of the C++ '::' global prefix so that '::B::x' can be used when 'A::B' occludes.

  • Reported: OCL 2.1 — Sun, 27 Feb 2011 05:00 GMT
  • Updated: Thu, 8 Oct 2015 14:12 GMT