ajterr:10013

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ajterr:10013 [2025-03-09 14:45] adminajterr:10013 [2025-03-09 14:47] (current) admin
Line 5: Line 5:
 ===== Description ===== ===== Description =====
  
-When specifying the type of a variable assignment or a parameter definition you must reference a type. This error is thrown when your code references something else.+When specifying the type of a variable assignment (1), a return type specification (2) or a parameter definition (3) you must reference a type. This error is thrown when your code references something else.
  
 +**(1)**:
 <code> <code>
 test1: number := 7; test1: number := 7;
Line 12: Line 13:
 //    ^^^^^ You are referencing a property here instead of a type. //    ^^^^^ You are referencing a property here instead of a type.
 </code> </code>
 +**(2)**: 
 +<code> 
 +test: test1 := 4; 
 +example ||: test { } 
 +//          ^^^^ You are referencing a property here instead of a type. 
 +</code> 
 +**(3)**:
 <code> <code>
 test: test1 := 4; test: test1 := 4;
  • ajterr/10013.1741527938.txt.gz
  • Last modified: 2025-03-09 14:45
  • by admin