ajterr:10013

Differences

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

Link to this comparison view

Next revision
Previous revision
ajterr:10013 [2025-03-01 22:01] – created adminajterr:10013 [2025-03-09 14:47] (current) admin
Line 5: Line 5:
 ===== Description ===== ===== Description =====
  
-When specifying the type of a variable assignment 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;
 test: test1 := 4; test: test1 := 4;
-//    ^^^^^  You are referencing a property here instead of a type. +//    ^^^^^ You are referencing a property here instead of a type. 
-example::exampleClass { }+</code> 
 +**(2)**: 
 +<code> 
 +test: test1 := 4; 
 +example ||test { } 
 +//          ^^^^ You are referencing a property here instead of a type. 
 +</code> 
 +**(3)**: 
 +<code> 
 +test: test1 := 4; 
 +example |argument: test|: void { } 
 +//                 ^^^^ You are referencing a property here instead of a type.
 </code> </code>
- 
 ===== How can I resolve this error? ===== ===== How can I resolve this error? =====
  
  • ajterr/10013.1740862860.txt.gz
  • Last modified: 2025-03-01 22:01
  • by admin