Skip to content

Commit

Permalink
[Z3] Remove unused ctx instvar from Z3Datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
janvrany authored and shingarov committed Sep 9, 2024
1 parent aa8ed4c commit 58d55fb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Z3/Z3Datatype.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Class {
#superclass : #Object,
#instVars : [
'name',
'ctx',
'constructors'
],
#category : #'Z3-Core'
Expand Down Expand Up @@ -71,7 +70,6 @@ Z3Datatype class >> createDatatypes: ds [
{ #category : #'instance creation' }
Z3Datatype class >> named: aString [
^self basicNew
ctx: Z3Context current;
name: aString;
constructors: OrderedCollection new;
yourself
Expand All @@ -94,16 +92,6 @@ Z3Datatype >> create [
^(Z3Datatype createDatatypes: {self}) first
]

{ #category : #accessing }
Z3Datatype >> ctx [
^ ctx
]

{ #category : #accessing }
Z3Datatype >> ctx: anObject [
ctx := anObject
]

{ #category : #'as yet unclassified' }
Z3Datatype >> declare: constructorName [
self declare: constructorName accessors: #()
Expand Down

0 comments on commit 58d55fb

Please sign in to comment.