Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
16646 test + fix: #after mit access to temp in method https://pharo.fogbugz.com/f/cases/16646 16642 availableReifications: return the list of supported reifications for an entity https://pharo.fogbugz.com/f/cases/16642 16632 RBParser should reject - space literal https://pharo.fogbugz.com/f/cases/16632 http://files.pharo.org/image/50/50343.zip
- Loading branch information
Jenkins Build Server
authored and
ci
committed
Sep 27, 2015
1 parent
d938ca3
commit 6a21341
Showing
13 changed files
with
62 additions
and
26 deletions.
There are no files selected for viewing
10 changes: 0 additions & 10 deletions
10
AST-Core.package/RBParser.class/instance/private-parsing/parseNegatedNumber.st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
AST-Tests-Core.package/RBParserTest.class/instance/tests parsing/testNegativeNumberError.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
testNegativeNumberError | ||
self should: [ RBParser parseExpression: '- 2' ] raise: SyntaxErrorNotification |
5 changes: 5 additions & 0 deletions
5
...ivity-Tests.package/MetaLinkTest.class/instance/tests - misc/testAvailableReifications.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
testAvailableReifications | ||
self assert: (RBMessageNode new availableReifications includes: #receiver). | ||
self deny: (RBMessageNode new availableReifications includes: #value). | ||
self assert: ((ReflectivityExamples classVariableNamed: #ClassVar) availableReifications includes: #name). | ||
self deny: ((ReflectivityExamples classVariableNamed: #ClassVar) availableReifications includes: #selector). |
17 changes: 17 additions & 0 deletions
17
....package/ReflectivityControlTest.class/instance/tests - after/testAfterMethodWithTemps.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
testAfterMethodWithTemps | ||
| methodNode link | | ||
ReflectivityExamples recompile: #exampleAssignment. | ||
methodNode := (ReflectivityExamples >> #exampleAssignment) ast. | ||
link := MetaLink new | ||
metaObject: self; | ||
selector: #tagExec; | ||
control: #after. | ||
methodNode link: link. | ||
self assert: methodNode hasMetalink. | ||
self assert: (ReflectivityExamples >> #exampleAssignment) class = ReflectiveMethod. | ||
self assert: tag isNil. | ||
self assert: ReflectivityExamples new exampleAssignment = 3. | ||
self assert: tag = #yes. | ||
self assert: (ReflectivityExamples >> #exampleAssignment) class = CompiledMethod. | ||
link uninstall. | ||
ReflectivityExamples recompile: #exampleAssignment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Reflectivity.package/extension/LiteralVariable/instance/availableReifications.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
availableReifications | ||
^RFReification subclasses | ||
select: [ :e | e nodes includesAny: self class withAllSuperclasses ] | ||
thenCollect: #key |
4 changes: 4 additions & 0 deletions
4
Reflectivity.package/extension/RBProgramNode/instance/availableReifications.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
availableReifications | ||
^RFReification subclasses | ||
select: [ :e | e nodes includesAny: self class withAllSuperclasses ] | ||
thenCollect: #key |
4 changes: 4 additions & 0 deletions
4
Reflectivity.package/extension/Slot/instance/availableReifications.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
availableReifications | ||
^RFReification subclasses | ||
select: [ :e | e nodes includesAny: self class withAllSuperclasses ] | ||
thenCollect: #key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50342.st
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
ScriptLoader50.package/ScriptLoader.class/instance/pharo - updates/update50343.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
update50343 | ||
"self new update50343" | ||
self withUpdateLog: '16646 test + fix: #after mit access to temp in method | ||
https://pharo.fogbugz.com/f/cases/16646 | ||
16642 availableReifications: return the list of supported reifications for an entity | ||
https://pharo.fogbugz.com/f/cases/16642 | ||
16632 RBParser should reject - space literal | ||
https://pharo.fogbugz.com/f/cases/16632'. | ||
self loadTogether: self script50343 merge: false. | ||
self flushCaches. |
10 changes: 8 additions & 2 deletions
10
ScriptLoader50.package/ScriptLoader.class/instance/public/commentForCurrentUpdate.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
commentForCurrentUpdate | ||
^ '16640 Reflectivity: add support for reifications #name and #value for Class Variables | ||
https://pharo.fogbugz.com/f/cases/16640' | ||
^ '16646 test + fix: #after mit access to temp in method | ||
https://pharo.fogbugz.com/f/cases/16646 | ||
16642 availableReifications: return the list of supported reifications for an entity | ||
https://pharo.fogbugz.com/f/cases/16642 | ||
16632 RBParser should reject - space literal | ||
https://pharo.fogbugz.com/f/cases/16632' |