diff --git a/src/program/types/ClassBody.js b/src/program/types/ClassBody.js
index <HASH>..<HASH> 100644
--- a/src/program/types/ClassBody.js
+++ b/src/program/types/ClassBody.js
@@ -3,7 +3,7 @@ import Node from '../Node.js';
 export default class ClassBody extends Node {
 	attachScope ( parent ) {
 		for ( let i = 0; i < this.body.length; i += 1 ) {
-			this.body[i].value.attachScope( parent );
+			this.body[i].attachScope( parent );
 		}
 	}
attach scope to property keys as well as values