Browse Source

* expand the error message for when trying to use a formal class with an
explanation of what to do

git-svn-id: trunk@31457 -

Jonas Maebe 10 years ago
parent
commit
e720b44471
3 changed files with 326 additions and 326 deletions
  1. 1 1
      compiler/msg/errore.msg
  2. 1 1
      compiler/msgidx.inc
  3. 324 324
      compiler/msgtxt.inc

+ 1 - 1
compiler/msg/errore.msg

@@ -2210,7 +2210,7 @@ sym_w_experimental_unit=05079_W_Unit "$1" is experimental
 % declared as \var{experimental} is used. Experimental units
 % declared as \var{experimental} is used. Experimental units
 % might disappear or change semantics in future versions. Usage of this unit
 % might disappear or change semantics in future versions. Usage of this unit
 % should be avoided as much as possible.
 % should be avoided as much as possible.
-sym_e_formal_class_not_resolved=05080_E_No complete definition of the formally declared class "$1" is in scope
+sym_e_formal_class_not_resolved=05080_E_No full definition of the formally declared class "$1" is in scope. Add the unit containing its full definition to the uses clause.
 % Objecive-C and Java classes can be imported formally, without using the unit in which it is fully declared.
 % Objecive-C and Java classes can be imported formally, without using the unit in which it is fully declared.
 % This enables making forward references to such classes and breaking circular dependencies amongst units.
 % This enables making forward references to such classes and breaking circular dependencies amongst units.
 % However, as soon as you wish to actually do something with an entity of this class type (such as
 % However, as soon as you wish to actually do something with an entity of this class type (such as

+ 1 - 1
compiler/msgidx.inc

@@ -1017,7 +1017,7 @@ const
   option_info=11024;
   option_info=11024;
   option_help_pages=11025;
   option_help_pages=11025;
 
 
-  MsgTxtSize = 75822;
+  MsgTxtSize = 75883;
 
 
   MsgIdxMax : array[1..20] of longint=(
   MsgIdxMax : array[1..20] of longint=(
     26,99,342,124,96,58,127,32,207,64,
     26,99,342,124,96,58,127,32,207,64,

File diff suppressed because it is too large
+ 324 - 324
compiler/msgtxt.inc


Some files were not shown because too many files changed in this diff