feat: do not include ? type in error messages
				
					
				
			This commit is contained in:
		@@ -9,9 +9,11 @@ object types {
 | 
				
			|||||||
      case KnownType.Bool              => "bool"
 | 
					      case KnownType.Bool              => "bool"
 | 
				
			||||||
      case KnownType.Char              => "char"
 | 
					      case KnownType.Char              => "char"
 | 
				
			||||||
      case KnownType.String            => "string"
 | 
					      case KnownType.String            => "string"
 | 
				
			||||||
 | 
					      case KnownType.Array(?)          => "array"
 | 
				
			||||||
      case KnownType.Array(elem)       => s"$elem[]"
 | 
					      case KnownType.Array(elem)       => s"$elem[]"
 | 
				
			||||||
 | 
					      case KnownType.Pair(?, ?)        => "pair"
 | 
				
			||||||
      case KnownType.Pair(left, right) => s"pair($left, $right)"
 | 
					      case KnownType.Pair(left, right) => s"pair($left, $right)"
 | 
				
			||||||
      case ?                           => "?"
 | 
					      case ?                           => "<unknown-type>"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user