txt: ## scope.md
  class X::Declaration::Scope
  
  Compilation error due to a declaration with an ineligible scope
  
  ```raku
  class X::Declaration::Scope does X::Comp { }
  
  ```
  
  Compile time error thrown when a declaration does not harmonize with the declared scope.
  
  For example
  
  ```raku
  has sub f() { }
  
  ```
  
  dies with
  
  ｢text｣ without highlighting
  
  ```
  
  
  ```
  
  ===SORRY!===
  Cannot use 'has' with sub declaration
  
  
  ```
  
  
  ```
  
  # [Methods](#class_X::Declaration::Scope "go to top of document")[§](#Methods "direct link")
  
  ## [method scope](#class_X::Declaration::Scope "go to top of document")[§](#method_scope "direct link")
  
  ```raku
  method scope(--> Str:D)
  ```
  
  Returns a string representation of the scope, usually the same keyword that is used for the declaration (`"my"`, `"our"`, `"has"`, ...);
  
  ## [method declaration](#class_X::Declaration::Scope "go to top of document")[§](#method_declaration "direct link")
  
  ```raku
  method declaration(--> Str:D)
  ```
  
  Describes the symbol that has been declared in a wrong scope.
  