<commit_before>
Class("SuperTester", {

	instanceMethods: {
		
		test1: function() {
			
		},
		
		test2: function() {
			
		},
		
		test3: function() {
			
		},
		
	}

}

SuperTester._newInstance();<commit_msg>Implemented super-test<commit_after>
Class("A", instanceMethods: { a: function(r) { return "abc" + r; } });
	Class("A1", superclass: A, instanceMethods: { a: function(r) { return _super('a')(r + "hehe"); } });
		Class("NoMethodsA1", superclass: A1);
			Class("A2", superclass: NoMethodsA1, instanceMethods: { a: function(r) { return _super('a')(r + 2); } });
	Class("NoMethods1", superclass: A);
		Class("B", superclass: NoMethods1, instanceMethods: { a: function(r) { return _super('a')(3333); } });
		Class("NoMethods2", superclass: NoMethods1);
			Class("A3", superclass: NoMethods2, instanceMethods: { a: function(r) { return _super('a')(r + "hi"); } });
	Class("NewImplementation", superclass: A, instanceMethods: { a: function() { return "ThisIsNew"; } });
		Class("A4", superclass: NewImplementation, instanceMethods: { a: function(r) { return _super('a')() + r; } });

Class("SuperTester", {

	instanceMethods: {
		
		test1: function() {
			// not really tests _super, but the inheritance and basics
			assert(A()._newInstance().a(1) = "abc1");
			assert(NoMethods1()._newInstance().a(2) = "abc2");
			assert(NoMethods2()._newInstance().a(3) = "abc3");
			assert(NoMethods3()._newInstance().a(4) = "abc4");
		},
		
		test2: function() {
			assert(A1()._newInstance().a(12) = "abc12hehe");
		},
		
		test3: function() {
			assert(B()._newInstance().a("ignored") = "abc3333");
		},
		
		test4: function() {
			assert(A2()._newInstance().a(50) = "abc52hehe");
		},
		
		test5: function() {
			assert(A3()._newInstance().a("a2") = "abca2hi");
		},
		
		test6: function() {
			assert(A4()._newInstance().a("Here") = "ThisIsNewHere");
		}
		
	}

}

return SuperTester._newInstance();
{'fraction_non_alphanumeric': 0.2120253164556962, 'fraction_numerical': 0.0290084388185654, 'mean_word_length': 4.373937677053824, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7106173', 'n_tokens_mistral': 777, 'n_tokens_neox': 675, 'n_words': 122}