clinical_quality_language icon indicating copy to clipboard operation
clinical_quality_language copied to clipboard

The private keyword should make methods private

Open EvanMachusak opened this issue 3 years ago • 1 comments

In library 'a':

define private function "Private function"(): true

In library 'b':

include 'a' called a
define "works but should not": a."Private function"()

The private access modifier is correctly assigned in the ELM, but library 'b' still transpiles without warnings, let alone errors.

EvanMachusak avatar Oct 14 '22 12:10 EvanMachusak

Agreed, and surprised this is happening, the translator definitely has code to check this, so I'm not sure what's happening. Will investigate.

brynrhodes avatar Oct 14 '22 19:10 brynrhodes