PageRenderTime 56ms CodeModel.GetById 34ms app.highlight 2ms RepoModel.GetById 18ms app.codeStats 0ms

/tests/fsharp/core/csfromfs/nested-types-error.bsl

https://github.com/kashmervil/fsharp
Unknown | 18 lines | 9 code | 9 blank | 0 comment | 0 complexity | 0aa28e3ee9259399233488a3ef07d10a MD5 | raw file
 1
 2nested-types-error.fs(8,8,8,27): typecheck error FS0491: The member or object constructor 'ProtectedMethod' is not accessible. Private members may only be accessed from within the declaring type. Protected members may only be accessed from an extending type and cannot be accessed from inner lambda expressions.
 3
 4nested-types-error.fs(9,13,9,32): typecheck error FS0491: The member or object constructor 'ProtectedProperty' is not accessible. Private members may only be accessed from within the declaring type. Protected members may only be accessed from an extending type and cannot be accessed from inner lambda expressions.
 5
 6nested-types-error.fs(14,8,14,27): typecheck error FS0491: The member or object constructor 'ProtectedMethod' is not accessible. Private members may only be accessed from within the declaring type. Protected members may only be accessed from an extending type and cannot be accessed from inner lambda expressions.
 7
 8nested-types-error.fs(15,13,15,32): typecheck error FS0491: The member or object constructor 'ProtectedProperty' is not accessible. Private members may only be accessed from within the declaring type. Protected members may only be accessed from an extending type and cannot be accessed from inner lambda expressions.
 9
10nested-types-error.fs(18,13,18,55): typecheck error FS0801: This type has no accessible object constructors
11
12nested-types-error.fs(26,9,26,36): typecheck error FS0801: This type has no accessible object constructors
13
14nested-types-error.fs(27,9,27,57): typecheck error FS0801: This type has no accessible object constructors
15
16nested-types-error.fs(28,9,28,36): typecheck error FS0801: This type has no accessible object constructors
17
18nested-types-error.fs(29,9,29,51): typecheck error FS0801: This type has no accessible object constructors