We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a219167 commit 45d44e5Copy full SHA for 45d44e5
1 file changed
src/slang-nodes/MappingType.ts
@@ -17,8 +17,6 @@ export class MappingType implements SlangNode {
17
18
keyType: MappingKey;
19
20
- equalGreaterThan: string;
21
-
22
valueType: MappingValue;
23
24
constructor(
@@ -30,7 +28,6 @@ export class MappingType implements SlangNode {
30
28
const { offsets } = metadata;
31
29
32
this.keyType = new MappingKey(ast.keyType, offsets[0]);
33
- this.equalGreaterThan = ast.equalGreaterThan.text;
34
this.valueType = new MappingValue(ast.valueType, offsets[1], options);
35
36
metadata = updateMetadata(metadata, [this.keyType, this.valueType]);
@@ -43,7 +40,7 @@ export class MappingType implements SlangNode {
43
40
return [
44
41
'mapping(',
45
42
path.call(print, 'keyType'),
46
- ` ${this.equalGreaterThan} `,
+ ` => `,
47
path.call(print, 'valueType'),
48
')'
49
];
0 commit comments