@@ -8,6 +8,7 @@ module Synth {
88 TComment ( Raw:: Comment id ) { constructComment ( id ) } or
99 TDbFile ( Raw:: DbFile id ) { constructDbFile ( id ) } or
1010 TDbLocation ( Raw:: DbLocation id ) { constructDbLocation ( id ) } or
11+ TDiagnostics ( Raw:: Diagnostics id ) { constructDiagnostics ( id ) } or
1112 TUnknownFile ( ) or
1213 TUnknownLocation ( ) or
1314 TUnspecifiedElement ( Raw:: UnspecifiedElement id ) { constructUnspecifiedElement ( id ) } or
@@ -322,7 +323,7 @@ module Synth {
322323
323324 class TFile = TDbFile or TUnknownFile ;
324325
325- class TLocatable = TArgument or TAstNode or TComment or TUnspecifiedElement ;
326+ class TLocatable = TArgument or TAstNode or TComment or TDiagnostics or TUnspecifiedElement ;
326327
327328 class TLocation = TDbLocation or TUnknownLocation ;
328329
@@ -494,6 +495,9 @@ module Synth {
494495 cached
495496 TDbLocation convertDbLocationFromRaw ( Raw:: Element e ) { result = TDbLocation ( e ) }
496497
498+ cached
499+ TDiagnostics convertDiagnosticsFromRaw ( Raw:: Element e ) { result = TDiagnostics ( e ) }
500+
497501 cached
498502 TUnknownFile convertUnknownFileFromRaw ( Raw:: Element e ) { none ( ) }
499503
@@ -1471,6 +1475,8 @@ module Synth {
14711475 or
14721476 result = convertCommentFromRaw ( e )
14731477 or
1478+ result = convertDiagnosticsFromRaw ( e )
1479+ or
14741480 result = convertUnspecifiedElementFromRaw ( e )
14751481 }
14761482
@@ -2201,6 +2207,9 @@ module Synth {
22012207 cached
22022208 Raw:: Element convertDbLocationToRaw ( TDbLocation e ) { e = TDbLocation ( result ) }
22032209
2210+ cached
2211+ Raw:: Element convertDiagnosticsToRaw ( TDiagnostics e ) { e = TDiagnostics ( result ) }
2212+
22042213 cached
22052214 Raw:: Element convertUnknownFileToRaw ( TUnknownFile e ) { none ( ) }
22062215
@@ -3176,6 +3185,8 @@ module Synth {
31763185 or
31773186 result = convertCommentToRaw ( e )
31783187 or
3188+ result = convertDiagnosticsToRaw ( e )
3189+ or
31793190 result = convertUnspecifiedElementToRaw ( e )
31803191 }
31813192
0 commit comments